Project

General

Profile

Download (1.7 KB) Statistics
| Branch: | Tag: | Revision:
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.7

# Don't prefer is_a? over kind_of?
Style/ClassCheck:
Enabled: false

# Don't enforce certain methods, e.g. detect over find
Style/CollectionMethods:
Enabled: false

# Don't enforce documentation
Style/Documentation:
Enabled: false

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

# Don't enforce frozen string literals
Style/FrozenStringLiteralComment:
Enabled: false

Metrics/ClassLength:
Exclude:
- 'test/**/*'

Lint/AmbiguousRegexpLiteral:
Enabled: false

Lint/AssignmentInCondition:
Enabled: false

Security/Eval:
Enabled: false

Lint/RescueException:
Enabled: false

Lint/UnusedBlockArgument:
Enabled: false

Lint/UnusedMethodArgument:
Enabled: false

Style/SymbolProc:
Enabled: false

Style/Lambda:
Enabled: false

# enable both hash-rocket and ruby19 hashmap syntax
Style/HashSyntax:
Enabled: false

#Allow both ['a', 'b'], %w[a b] and %w(a b) style arrays
Style/WordArray:
Enabled: false

Style/AndOr:
EnforcedStyle: conditionals

Style/TernaryParentheses:
EnforcedStyle: require_parentheses_when_complex

Style/InverseMethods:
Enabled: false

Layout/FirstParameterIndentation:
EnforcedStyle: consistent

Bundler/OrderedGems:
Enabled: false

Style/Alias:
EnforcedStyle: prefer_alias_method

Layout/DotPosition:
Enabled: false

Style/IfUnlessModifier:
Enabled: false

Style/ConditionalAssignment:
Enabled: false

Style/EmptyMethod:
EnforcedStyle: expanded

Style/ParenthesesAroundCondition:
Enabled: false

Layout/HashAlignment:
Enabled: false

Layout/ParameterAlignment:
Enabled: false

Style/StringConcatenation:
Enabled: true

Style/ParallelAssignment:
Enabled: false
(3-3/9)