Skip to content

Commit 6863fe3

Browse files
authored
Count HEREDOCs as a single line (#396)
1 parent 8d52eac commit 6863fe3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ Metrics/MethodLength:
4040
Exclude:
4141
- 'spec/**/*'
4242

43+
Metrics/ModuleLength:
44+
CountAsOne: ['heredoc']
45+
4346
Naming/MethodName:
4447
AllowedPatterns:
4548
- '_INSERT_'

.rubocop_todo.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)