2017-06-04 16:21:05 -04:00
|
|
|
AllCops:
|
|
|
|
DisabledByDefault: true
|
2019-06-14 15:00:54 -04:00
|
|
|
TargetRubyVersion: 2.2
|
2017-06-04 16:21:05 -04:00
|
|
|
DisplayCopNames: true
|
|
|
|
StyleGuideCopsOnly: false
|
|
|
|
Exclude:
|
|
|
|
- 'tmp/**/*'
|
|
|
|
- 'vendor/**/*'
|
2020-03-07 09:15:43 -05:00
|
|
|
- 'examples/**/*'
|
|
|
|
- 'pkg/**/*'
|
2017-06-04 16:21:05 -04:00
|
|
|
- '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
|
|
|
|
|
2018-07-30 22:30:32 -04:00
|
|
|
Performance:
|
2017-06-04 16:21:05 -04:00
|
|
|
Enabled: true
|
2020-03-07 09:15:43 -05:00
|
|
|
|
|
|
|
Metrics/ParameterLists:
|
|
|
|
Max: 7
|
|
|
|
|
|
|
|
Performance/RedundantMatch:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/RedundantBlockCall:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/StringReplacement:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Layout/AccessModifierIndentation:
|
|
|
|
EnforcedStyle: indent
|
|
|
|
|
|
|
|
Style/WhileUntilModifier:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/TernaryParentheses:
|
|
|
|
Enabled: true
|