Skip to content

Commit

Permalink
chore(): disable some rules for potassium and generated projects
Browse files Browse the repository at this point in the history
  • Loading branch information
difernandez committed Feb 4, 2021
1 parent f5b67ae commit b8750d3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,19 @@ Performance/RedundantBlockCall:
Description: Use `yield` instead of `block.call`.
Reference: https://github.com/JuanitoFatas/fast-ruby#proccall-vs-yield-code
Enabled: false
Style/OptionalBooleanParameter:
Description: 'Use keyword arguments when defining method with boolean argument.'
Enabled: false
Lint/MissingSuper:
Description: >-
This cop checks for the presence of constructors and lifecycle callbacks
without calls to `super`'.
Enabled: false
Style/RedundantFileExtensionInRequire:
Description: >-
Checks for the presence of superfluous `.rb` extension in
the filename provided to `require` and `require_relative`.
Enabled: false
RSpec/MultipleExpectations:
Max: 5
RSpec/NestedGroups:
Expand Down
13 changes: 13 additions & 0 deletions lib/potassium/assets/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,19 @@ Performance/RedundantBlockCall:
Description: Use `yield` instead of `block.call`.
Reference: https://github.com/JuanitoFatas/fast-ruby#proccall-vs-yield-code
Enabled: false
Style/OptionalBooleanParameter:
Description: 'Use keyword arguments when defining method with boolean argument.'
Enabled: false
Lint/MissingSuper:
Description: >-
This cop checks for the presence of constructors and lifecycle callbacks
without calls to `super`'.
Enabled: false
Style/RedundantFileExtensionInRequire:
Description: >-
Checks for the presence of superfluous `.rb` extension in
the filename provided to `require` and `require_relative`.
Enabled: false
RSpec/MultipleExpectations:
Max: 5
RSpec/NestedGroups:
Expand Down

0 comments on commit b8750d3

Please sign in to comment.