2016-09-30 05:28:21 +10:00
|
|
|
Rails:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/PerlBackrefs:
|
|
|
|
AutoCorrect: false
|
|
|
|
|
|
|
|
Style/ClassAndModuleChildren:
|
|
|
|
Enabled: false
|
|
|
|
|
2016-10-23 04:38:47 +11:00
|
|
|
Metrics/BlockNesting:
|
|
|
|
Max: 2
|
|
|
|
|
|
|
|
Metrics/LineLength:
|
|
|
|
AllowURI: true
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/MethodLength:
|
|
|
|
CountComments: false
|
|
|
|
Max: 10
|
|
|
|
|
|
|
|
Metrics/ModuleLength:
|
|
|
|
Max: 100
|
|
|
|
|
|
|
|
Metrics/ParameterLists:
|
|
|
|
Max: 4
|
|
|
|
CountKeywordArgs: true
|
|
|
|
|
|
|
|
Style/AccessModifierIndentation:
|
|
|
|
EnforcedStyle: indent
|
|
|
|
|
|
|
|
Style/CollectionMethods:
|
|
|
|
Enabled: true
|
|
|
|
PreferredMethods:
|
|
|
|
find_all: 'select'
|
|
|
|
|
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/DoubleNegation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/FrozenStringLiteralComment:
|
2016-09-30 05:28:21 +10:00
|
|
|
Enabled: false
|
2016-10-23 04:38:47 +11:00
|
|
|
|
|
|
|
Style/SpaceInsideHashLiteralBraces:
|
|
|
|
EnforcedStyle: space
|
|
|
|
|
|
|
|
Style/TrailingCommaInLiteral:
|
|
|
|
EnforcedStyleForMultiline: 'comma'
|
|
|
|
|
|
|
|
Style/RegexpLiteral:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
AllCops:
|
|
|
|
TargetRubyVersion: 2.2
|
|
|
|
Exclude:
|
|
|
|
- 'spec/**/*'
|
|
|
|
- 'db/**/*'
|
|
|
|
- 'app/views/**/*'
|
|
|
|
- 'config/**/*'
|