Skip to content

Commit dec5be4

Browse files
committed
Relax Rubocop Metrics/ClassLength threshold
because it became aware of singleton classes.
1 parent 5a958e4 commit dec5be4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.rubocop.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ AllCops:
99
- "node_modules/**/*"
1010
- "spec/dummy_app/bin/**/*"
1111
- "spec/dummy_app/db/schema.rb"
12+
- "spec/dummy_app/node_modules/**/*"
1213
- "spec/dummy_app/tmp/**/*"
1314
- "vendor/bundle/**/*"
1415
NewCops: disable
@@ -108,7 +109,7 @@ Metrics/BlockNesting:
108109

109110
Metrics/ClassLength:
110111
CountComments: false
111-
Max: 132 # TODO: Lower to 100
112+
Max: 200 # TODO: Lower to 100
112113

113114
Metrics/CyclomaticComplexity:
114115
Max: 15 # TODO: Lower to 6

0 commit comments

Comments
 (0)