Skip to content

Commit

Permalink
Fix BlockLength excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
pouellet authored Oct 8, 2019
1 parent f71118d commit b7b1c8b
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions rubocop_base_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,34 +27,30 @@ Layout/SpaceInsideBlockBraces:
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: space

Metrics/AbcSize:
Max: 20

Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- 'features/**/*'

Metrics/ModuleLength:
Exclude:
- 'spec/**/*'

Metrics/AbcSize:
Max: 20

Metrics/BlockLength:
ExcludedMethods:
- refine
- state_machine
- describe
- it

Metrics/CyclomaticComplexity:
Max: 10

Metrics/LineLength:
Enabled: false

Metrics/MethodLength:
Max: 20

Metrics/ModuleLength:
Exclude:
- 'spec/**/*'

Metrics/ParameterLists:
CountKeywordArgs: false

Expand Down

0 comments on commit b7b1c8b

Please sign in to comment.