Skip to content

Commit

Permalink
Disable some cop
Browse files Browse the repository at this point in the history
At the moment, the next cops don't are enabled by default and, they are not safe.
For that reason, we are disable them.

- Style/HashEachMethods
- Style/HashTransformKeys
- Style/HashTransformValues
  • Loading branch information
DavidKang committed Feb 24, 2020
1 parent f54c42f commit 887c8e3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ Style/SymbolArray:
Style/WordArray:
EnforcedStyle: brackets

# At the moment, these cops don't are enabled by default and, they are not safe.
# For that reason, we are disable them.
Style/HashEachMethods:
Enabled: false
Style/HashTransformKeys:
Enabled: false
Style/HashTransformValues:
Enabled: false

##################### Metrics ##################################

Metrics/ClassLength:
Expand Down
9 changes: 9 additions & 0 deletions src/api/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ Style/RedundantInterpolation:
Style/FormatStringToken:
Enabled: false

# At the moment, these cops don't are enabled by default and, they are not safe.
# For that reason, we are disable them.
Style/HashEachMethods:
Enabled: false
Style/HashTransformKeys:
Enabled: false
Style/HashTransformValues:
Enabled: false

##################### Metrics ##################################

# Disabled due Rspec.describe and routes.draw can't be split
Expand Down

0 comments on commit 887c8e3

Please sign in to comment.