1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/.rubocop.yml

79 lines
1.2 KiB
YAML
Raw Normal View History

AllCops:
DisabledByDefault: true
TargetRubyVersion: 2.2
DisplayCopNames: true
StyleGuideCopsOnly: false
Exclude:
- 'tmp/**/*'
- '**/vendor/bundle/**/*'
2020-03-07 09:15:43 -05:00
- 'examples/**/*'
- 'pkg/**/*'
- 'Rakefile'
Layout/SpaceAfterColon:
Enabled: true
Layout/SpaceAroundKeyword:
Enabled: true
Layout/SpaceBeforeBlockBraces:
EnforcedStyleForEmptyBraces: no_space
Enabled: true
Layout/SpaceBeforeFirstArg:
Enabled: true
Layout/SpaceInsideParens:
Enabled: true
Layout/Tab:
Enabled: true
Layout/TrailingBlankLines:
Enabled: true
Layout/TrailingWhitespace:
Enabled: true
Lint/Debugger:
Enabled: true
Naming/MethodName:
Enabled: true
EnforcedStyle: snake_case
Exclude:
- 'test/**/**'
Naming/VariableName:
Enabled: true
Style/MethodDefParentheses:
Enabled: true
Style/TrailingCommaInArguments:
Enabled: true
2018-07-30 22:30:32 -04:00
Performance:
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