Skip to content

Commit 7f860a7

Browse files
committed
Add more sensible Rubocop defaults for line length. disable top-level class documentation requirement for modules and don't require big numbers like 12737341238 to be separated with _ -- who does that?
1 parent 73736c7 commit 7f860a7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.rubocop.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@ LineLength:
44

55
MethodLength:
66
Enabled: true
7-
Max: 30
7+
Max: 100
88

99
Style/ClassLength:
1010
Exclude:
1111
# Most modules are quite large and all contained in one class. This is OK.
1212
- 'modules/**/*'
13+
14+
Style/NumericLiterals:
15+
Enabled: false
16+
17+
Documentation:
18+
Exclude:
19+
- 'modules/**/*'

0 commit comments

Comments
 (0)