Project

General

Profile

Download (2.18 KB) Statistics
| Branch: | Tag: | Revision:
97bc678a archanaserver
inherit_from: .rubocop_todo.yml

002479d3 Eric D. Helms
AllCops:
97bc678a archanaserver
TargetRubyVersion: 2.7
NewCops: enable
002479d3 Eric D. Helms
Exclude:
97bc678a archanaserver
- "_build/**/*"
- "pkg/**/*"
- "Gemfile"
- "Puppetfile"
- "Rakefile"
7f1b3577 dosas
- 'vendor/**/*'
002479d3 Eric D. Helms
f528c342 Michael Moll
Bundler/OrderedGems:
002479d3 Eric D. Helms
Enabled: false

d824e8e3 Eric D. Helms
Layout/HashAlignment:
002479d3 Eric D. Helms
Enabled: false

d824e8e3 Eric D. Helms
Layout/ParameterAlignment:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
Layout/DotPosition:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
Metrics:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
Naming/FileName:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
Style/Alias:
EnforcedStyle: prefer_alias_method
002479d3 Eric D. Helms
Style/AndOr:
EnforcedStyle: conditionals

f528c342 Michael Moll
# Don't prefer is_a? over kind_of?
Style/ClassCheck:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
# Don't enforce certain methods, e.g. detect over find
Style/CollectionMethods:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
Style/ConditionalAssignment:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
# Don't enforce documentation
Style/Documentation:
002479d3 Eric D. Helms
Enabled: false

Style/EmptyMethod:
EnforcedStyle: expanded

f528c342 Michael Moll
# Don't enforce frozen string literals
Style/FrozenStringLiteralComment:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
Style/GuardClause:
002479d3 Eric D. Helms
Enabled: false

6bff926b Ewoud Kohl van Wijngaarden
Style/HashEachMethods:
Enabled: true

f528c342 Michael Moll
# Support both, Ruby 1.9 hashmap and hash-rocket syntax
Style/HashSyntax:
002479d3 Eric D. Helms
Enabled: false

6bff926b Ewoud Kohl van Wijngaarden
Style/HashTransformKeys:
Enabled: true

Style/HashTransformValues:
Enabled: true

f528c342 Michael Moll
Style/IfUnlessModifier:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
Style/InverseMethods:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
# disabled until we can configure "+" as concat sign
Style/LineEndConcatenation:
002479d3 Eric D. Helms
Enabled: false

# Won't work with sqlite
Style/MultipleComparison:
Enabled: false

f528c342 Michael Moll
Style/ParallelAssignment:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
Style/ParenthesesAroundCondition:
002479d3 Eric D. Helms
Enabled: false

f528c342 Michael Moll
Style/PreferredHashMethods:
Enabled: false

# Both double and single quotes are OK
Style/StringLiterals:
Enabled: false

Style/TernaryParentheses:
EnforcedStyle: require_parentheses_when_complex

d824e8e3 Eric D. Helms
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma

Style/TrailingCommaInHashLiteral:
002479d3 Eric D. Helms
EnforcedStyleForMultiline: comma
f528c342 Michael Moll
#Allow both ['a', 'b'], %w[a b] and %w(a b) style arrays
Style/WordArray:
Enabled: false
d824e8e3 Eric D. Helms
Layout/LineLength:
Enabled: false

Style/SafeNavigation:
Enabled: false

Style/StderrPuts:
Enabled: false

Lint/SendWithMixinArgument:
Enabled: false

Style/NumericPredicate:
Enabled: false
33069447 Eric D. Helms
Layout/HeredocIndentation:
Enabled: false