slackbuilder/.rubocop.yml

136 lines
2.5 KiB
YAML
Raw Normal View History

2021-02-05 06:59:02 +01:00
inherit_from: .rubocop_todo.yml
2020-12-09 18:28:42 +01:00
AllCops:
Exclude:
- 'vendor/**/*'
- '.git/**/*'
- 'slackbuilds/**/*'
2021-01-02 07:46:33 +01:00
- 'bin/bundle'
- 'bin/cap*'
- 'bin/rails'
- 'bin/rake'
- 'bin/rspec'
2020-12-09 18:28:42 +01:00
- 'bin/rubocop'
2021-01-02 07:46:33 +01:00
- 'bin/setup'
- 'bin/spring'
- 'bin/update'
- 'bin/webpack*'
- '**/db/*schema.rb'
- 'pkg/**/*'
TargetRubyVersion: '3.0'
2020-12-09 18:28:42 +01:00
Style/Documentation:
Enabled: false
2021-01-02 07:46:33 +01:00
# False-Positive: non-string-variable + 'some string'
Style/StringConcatenation:
Enabled: false
2020-12-09 18:28:42 +01:00
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
2021-01-02 07:46:33 +01:00
Layout/MultilineOperationIndentation:
EnforcedStyle: indented
2020-12-09 18:28:42 +01:00
Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation
Layout/EndAlignment:
EnforcedStyleAlignWith: variable
Metrics/BlockLength:
2021-01-02 07:46:33 +01:00
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