2017-06-04 16:21:05 -04:00
|
|
|
AllCops:
|
|
|
|
DisabledByDefault: true
|
|
|
|
TargetRubyVersion: 1.9.3
|
|
|
|
DisplayCopNames: true
|
|
|
|
StyleGuideCopsOnly: false
|
|
|
|
Exclude:
|
|
|
|
- 'tmp/**/*'
|
|
|
|
- 'gemfiles/vendor/**/*'
|
|
|
|
- 'vendor/**/*'
|
|
|
|
- 'Rakefile'
|
|
|
|
|
|
|
|
Layout/SpaceAfterColon:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Layout/SpaceAroundKeyword:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-11-30 10:52:40 -05:00
|
|
|
Layout/SpaceBeforeBlockBraces:
|
|
|
|
EnforcedStyleForEmptyBraces: no_space
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-04 16:21:05 -04:00
|
|
|
Layout/SpaceBeforeFirstArg:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Layout/SpaceInsideParens:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Layout/Tab:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Layout/TrailingBlankLines:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Layout/TrailingWhitespace:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Lint/Debugger:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-11-30 10:52:40 -05:00
|
|
|
Naming/MethodName:
|
2017-06-04 16:21:05 -04:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: snake_case
|
|
|
|
Exclude:
|
|
|
|
- 'test/**/**'
|
|
|
|
|
2017-11-30 10:52:40 -05:00
|
|
|
Naming/VariableName:
|
2017-06-04 16:21:05 -04:00
|
|
|
Enabled: true
|
|
|
|
|
2017-11-30 10:52:40 -05:00
|
|
|
Style/MethodDefParentheses:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/TrailingCommaInArguments:
|
2017-06-04 16:21:05 -04:00
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/Count:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/Detect:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/EndWith:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/FlatMap:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/HashEachMethods:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/RangeInclude:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/RedundantMerge:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/RedundantSortBy:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/ReverseEach:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/Sample:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/Size:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/StartWith:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/TimesMap:
|
|
|
|
Enabled: true
|