Ruby
Rails is our framework to the main applications.
Rails
Rubocop
Template
Style/RescueModifier:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/NegatedIf:
Enabled: false
Style/NegatedWhile:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
Metrics/AbcSize:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/LineLength:
Max: 150
Metrics/MethodLength:
Max: 30
Layout/SpaceAroundOperators:
Enabled: false
Layout/MultilineOperationIndentation:
Enabled: false
Layout/MultilineBlockLayout:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
Enabled: false
Layout/SpaceInsideBlockBraces:
Enabled: false
Layout/SpaceBeforeBlockBraces:
Enabled: falseLast updated
Was this helpful?