mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
2cb2357d39
* Add limited rubocop config and TODO config * Remove trailing whitespaces and blanklines * Add rubocop rake task; upd travis.yml
88 lines
1.2 KiB
YAML
88 lines
1.2 KiB
YAML
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
|
|
|
|
Layout/SpaceBeforeFirstArg:
|
|
Enabled: true
|
|
|
|
Layout/SpaceInsideParens:
|
|
Enabled: true
|
|
|
|
Layout/Tab:
|
|
Enabled: true
|
|
|
|
Layout/TrailingBlankLines:
|
|
Enabled: true
|
|
|
|
Layout/TrailingWhitespace:
|
|
Enabled: true
|
|
|
|
Lint/Debugger:
|
|
Enabled: true
|
|
|
|
Style/MethodDefParentheses:
|
|
Enabled: true
|
|
|
|
Style/MethodName:
|
|
Enabled: true
|
|
EnforcedStyle: snake_case
|
|
Exclude:
|
|
- 'test/**/**'
|
|
|
|
Style/TrailingCommaInArguments:
|
|
Enabled: true
|
|
|
|
Style/VariableName:
|
|
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
|