136 lines
2.5 KiB
YAML
136 lines
2.5 KiB
YAML
inherit_from: .rubocop_todo.yml
|
|
|
|
AllCops:
|
|
Exclude:
|
|
- 'vendor/**/*'
|
|
- '.git/**/*'
|
|
- 'slackbuilds/**/*'
|
|
- 'bin/bundle'
|
|
- 'bin/cap*'
|
|
- 'bin/rails'
|
|
- 'bin/rake'
|
|
- 'bin/rspec'
|
|
- 'bin/rubocop'
|
|
- 'bin/setup'
|
|
- 'bin/spring'
|
|
- 'bin/update'
|
|
- 'bin/webpack*'
|
|
- '**/db/*schema.rb'
|
|
- 'pkg/**/*'
|
|
|
|
TargetRubyVersion: '3.0'
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
# False-Positive: non-string-variable + 'some string'
|
|
Style/StringConcatenation:
|
|
Enabled: false
|
|
|
|
Layout/MultilineMethodCallIndentation:
|
|
EnforcedStyle: indented
|
|
|
|
Layout/MultilineOperationIndentation:
|
|
EnforcedStyle: indented
|
|
|
|
Layout/ArgumentAlignment:
|
|
EnforcedStyle: with_fixed_indentation
|
|
|
|
Layout/EndAlignment:
|
|
EnforcedStyleAlignWith: variable
|
|
|
|
Metrics/BlockLength:
|
|
IgnoredMethods:
|
|
- describe
|
|
- refine
|
|
|
|
Layout/SpaceBeforeBrackets: # (new in 1.7)
|
|
Enabled: false
|
|
|
|
Lint/AmbiguousAssignment: # (new in 1.7)
|
|
Enabled: false
|
|
|
|
Lint/DeprecatedConstants: # (new in 1.8)
|
|
Enabled: false
|
|
|
|
Lint/DuplicateBranch: # (new in 1.3)
|
|
Enabled: false
|
|
|
|
Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
|
|
Enabled: false
|
|
|
|
Lint/EmptyBlock: # (new in 1.1)
|
|
Enabled: false
|
|
|
|
Lint/EmptyClass: # (new in 1.3)
|
|
Enabled: false
|
|
|
|
Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
|
|
Enabled: false
|
|
|
|
Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
|
|
Enabled: false
|
|
|
|
Lint/RedundantDirGlobSort: # (new in 1.8)
|
|
Enabled: false
|
|
|
|
Lint/ToEnumArguments: # (new in 1.1)
|
|
Enabled: false
|
|
|
|
Lint/UnexpectedBlockArity: # (new in 1.5)
|
|
Enabled: false
|
|
|
|
Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
|
|
Enabled: false
|
|
|
|
Style/ArgumentsForwarding: # (new in 1.1)
|
|
Enabled: false
|
|
|
|
Style/CollectionCompact: # (new in 1.2)
|
|
Enabled: false
|
|
|
|
Style/DocumentDynamicEvalDefinition: # (new in 1.1)
|
|
Enabled: false
|
|
|
|
Style/EndlessMethod: # (new in 1.8)
|
|
Enabled: false
|
|
|
|
Style/HashExcept: # (new in 1.7)
|
|
Enabled: false
|
|
|
|
Style/NegatedIfElseCondition: # (new in 1.2)
|
|
Enabled: false
|
|
|
|
Style/NilLambda: # (new in 1.3)
|
|
Enabled: false
|
|
|
|
Style/RedundantArgument: # (new in 1.4)
|
|
Enabled: false
|
|
|
|
Style/SwapValues: # (new in 1.1)
|
|
Enabled: false
|
|
|
|
Gemspec/DateAssignment: # (new in 1.10)
|
|
Enabled: true
|
|
|
|
Lint/NumberedParameterAssignment: # (new in 1.9)
|
|
Enabled: true
|
|
|
|
Lint/OrAssignmentToConstant: # (new in 1.9)
|
|
Enabled: true
|
|
|
|
Lint/SymbolConversion: # (new in 1.9)
|
|
Enabled: true
|
|
|
|
Lint/TripleQuotes: # (new in 1.9)
|
|
Enabled: true
|
|
|
|
Style/HashConversion: # (new in 1.10)
|
|
Enabled: true
|
|
|
|
Style/IfWithBooleanLiteralBranches: # (new in 1.9)
|
|
Enabled: true
|
|
|
|
Style/StringChars: # (new in 1.12)
|
|
Enabled: true
|