зеркало из https://github.com/github/explore.git
36 строки
642 B
YAML
36 строки
642 B
YAML
require: rubocop-performance
|
|
|
|
AllCops:
|
|
TargetRubyVersion: 2.4
|
|
Exclude:
|
|
- '**/bin/**/*'
|
|
- '**/db/**/*'
|
|
- '**/script/setup'
|
|
- '**/vendor/**/*'
|
|
|
|
Lint/AssignmentInCondition:
|
|
Enabled: false
|
|
|
|
Metrics/BlockLength:
|
|
Enabled: false
|
|
|
|
Metrics/LineLength:
|
|
Max: 100
|
|
IgnoredPatterns: ['\A\s*#']
|
|
|
|
Naming/RescuedExceptionsVariableName:
|
|
PreferredName: "error"
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: false
|
|
|
|
Style/StringLiterals:
|
|
EnforcedStyle: double_quotes
|
|
|
|
Style/TrailingCommaInArrayLiteral:
|
|
EnforcedStyleForMultiline: consistent_comma
|
|
|
|
Style/TrailingCommaInHashLiteral:
|
|
EnforcedStyleForMultiline: consistent_comma
|
|
|