Skip to content

Instantly share code, notes, and snippets.

@scepion1d
Created December 2, 2017 06:46
Show Gist options
  • Save scepion1d/9617983c2abe0d042f47d3ac76dd74c1 to your computer and use it in GitHub Desktop.
Save scepion1d/9617983c2abe0d042f47d3ac76dd74c1 to your computer and use it in GitHub Desktop.
AllCops:
TargetRubyVersion: 2.3
Exclude:
- 'bin/**/*'
- 'db/**/*'
- 'log/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- 'public/**/*'
DisplayCopNames: true
Severity: error
Style/FrozenStringLiteralComment:
Enabled: false
Style/RescueModifier:
Enabled: false
Rails:
Enabled: true
AsciiComments:
Description: 'Use only ascii symbols in comments.'
Enabled: false
Documentation:
Description: 'Document classes and non-namespace modules.'
Enabled: false
EmptyLinesAroundBody:
Description: "Keeps track of blank lines around expression bodies."
Enabled: false
HasAndBelongsToMany:
Description: 'Prefer has_many :through to has_and_belongs_to_many.'
Enabled: true
Metrics/MethodLength:
CountComments: false
Max: 20
Metrics/ClassLength:
CountComments: false
Max: 150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment