Skip to content

Commit f52cb3b

Browse files
committed
Update rubocop
1 parent ba6bb52 commit f52cb3b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Diff for: .rubocop.yml

+7
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,10 @@ Style/TrailingCommaInLiteral:
2626

2727
Style/TrivialAccessors:
2828
AllowPredicates: true
29+
30+
Metrics/BlockLength:
31+
Exclude:
32+
- 'benchmark/setup_db.rb'
33+
- '**/*.rake'
34+
- 'spec/spec_helper.rb'
35+
- 'spec/**/*_spec.rb'

Diff for: .rubocop_todo.yml

-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ Layout/IndentHeredoc:
1919
Metrics/AbcSize:
2020
Max: 90
2121

22-
# Offense count: 31
23-
# Configuration parameters: CountComments, ExcludedMethods.
24-
Metrics/BlockLength:
25-
Max: 860
26-
2722
# Offense count: 1
2823
# Configuration parameters: CountBlocks.
2924
Metrics/BlockNesting:

0 commit comments

Comments
 (0)