Skip to content

Commit

Permalink
Update rubocop config for version ~> 1.22
Browse files Browse the repository at this point in the history
This tweaks mostly work around the existing tests by disabling a
couple cops.
  • Loading branch information
ivy authored and Ivy Evans committed Nov 17, 2021
1 parent 1eee7c7 commit 6fee37c
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
LineLength:
AllCops:
Exclude:
- 'Guardfile'
NewCops: enable

Layout/LineLength:
Max: 120

Documentation:
Lint/AmbiguousBlockAssociation:
Exclude:
- spec/**/*_spec.rb

Metrics/AbcSize:
Enabled: false

AllCops:
Metrics/BlockLength:
Exclude:
- 'Guardfile'
- spec/**/*_spec.rb

Metrics/AbcSize:
Style/BlockDelimiters:
Enabled: false

Style/EmptyMethod:
Style/Documentation:
Enabled: false

0 comments on commit 6fee37c

Please sign in to comment.