Skip to content

Commit

Permalink
Merge pull request #4 from hooktstudios/improvement/enable-new-by-def…
Browse files Browse the repository at this point in the history
…ault

Enable new cops globally
  • Loading branch information
louim committed May 25, 2020
2 parents 787fe9d + 109eff7 commit aed5a5c
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .rubocop.yml
Expand Up @@ -20,6 +20,8 @@ AllCops:
- tmp/**/*
- vendor/**/*
- node_modules/**/*
# Enable all newly added Cops
NewCops: enable

Rails:
Enabled: true
Expand Down Expand Up @@ -53,13 +55,6 @@ Layout/LineLength:
Layout/MultilineAssignmentLayout:
Enabled: true
EnforcedStyle: new_line
Layout/SpaceAroundMethodCallOperator:
Enabled: true

Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true

Performance/StringReplacement:
Enabled: false
Expand All @@ -77,16 +72,8 @@ RSpec/LetSetup:

Style/Documentation:
Enabled: false
Style/ExponentialNotation:
Enabled: true
Style/GuardClause:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Style/Lambda:
EnforcedStyle: literal
Style/StringLiterals:
Expand Down

0 comments on commit aed5a5c

Please sign in to comment.