2016-09-29 15:28:21 -04:00
|
|
|
Rails:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/PerlBackrefs:
|
|
|
|
AutoCorrect: false
|
|
|
|
|
|
|
|
Style/ClassAndModuleChildren:
|
|
|
|
Enabled: false
|
|
|
|
|
2016-10-22 13:38:47 -04:00
|
|
|
Metrics/BlockNesting:
|
|
|
|
Max: 2
|
|
|
|
|
|
|
|
Metrics/LineLength:
|
|
|
|
AllowURI: true
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/MethodLength:
|
|
|
|
CountComments: false
|
|
|
|
Max: 10
|
|
|
|
|
2016-11-15 10:56:29 -05:00
|
|
|
Metrics/AbcSize:
|
2016-10-22 13:38:47 -04:00
|
|
|
Max: 100
|
|
|
|
|
2016-11-15 10:56:29 -05:00
|
|
|
Metrics/BlockNesting:
|
|
|
|
Max: 3
|
|
|
|
|
|
|
|
Metrics/ClassLength:
|
|
|
|
CountComments: false
|
|
|
|
Max: 200
|
|
|
|
|
|
|
|
Metrics/CyclomaticComplexity:
|
|
|
|
Max: 15
|
|
|
|
|
|
|
|
Metrics/MethodLength:
|
|
|
|
Max: 55
|
|
|
|
|
|
|
|
Metrics/ModuleLength:
|
|
|
|
CountComments: false
|
|
|
|
Max: 200
|
|
|
|
|
|
|
|
Metrics/PerceivedComplexity:
|
|
|
|
Max: 10
|
|
|
|
|
2016-10-22 13:38:47 -04:00
|
|
|
Metrics/ParameterLists:
|
|
|
|
Max: 4
|
|
|
|
CountKeywordArgs: true
|
|
|
|
|
|
|
|
Style/AccessModifierIndentation:
|
|
|
|
EnforcedStyle: indent
|
|
|
|
|
|
|
|
Style/CollectionMethods:
|
|
|
|
Enabled: true
|
|
|
|
PreferredMethods:
|
|
|
|
find_all: 'select'
|
|
|
|
|
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/DoubleNegation:
|
2016-11-15 10:56:29 -05:00
|
|
|
Enabled: true
|
2016-10-22 13:38:47 -04:00
|
|
|
|
|
|
|
Style/FrozenStringLiteralComment:
|
2016-11-15 10:56:29 -05:00
|
|
|
Enabled: true
|
2016-10-22 13:38:47 -04:00
|
|
|
|
|
|
|
Style/SpaceInsideHashLiteralBraces:
|
|
|
|
EnforcedStyle: space
|
|
|
|
|
|
|
|
Style/TrailingCommaInLiteral:
|
|
|
|
EnforcedStyleForMultiline: 'comma'
|
|
|
|
|
|
|
|
Style/RegexpLiteral:
|
|
|
|
Enabled: false
|
|
|
|
|
2016-11-15 10:56:29 -05:00
|
|
|
Style/Lambda:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Rails/HasAndBelongsToMany:
|
|
|
|
Enabled: false
|
|
|
|
|
2016-10-22 13:38:47 -04:00
|
|
|
AllCops:
|
2016-11-15 10:56:29 -05:00
|
|
|
TargetRubyVersion: 2.3
|
2016-10-22 13:38:47 -04:00
|
|
|
Exclude:
|
|
|
|
- 'spec/**/*'
|
|
|
|
- 'db/**/*'
|
|
|
|
- 'app/views/**/*'
|
|
|
|
- 'config/**/*'
|
2016-11-15 10:56:29 -05:00
|
|
|
- 'bin/*'
|
|
|
|
- 'Rakefile'
|
2016-12-29 14:12:32 -05:00
|
|
|
- 'node_modules/**/*'
|
2017-01-15 08:01:33 -05:00
|
|
|
- 'Vagrantfile'
|