rubocop/rubocop-lint.yml
Lint/AmbiguousBlockAssociation:
Exclude:
- spec/**/*
Lint/DeprecatedOpenSSLConstant:
Enabled: true
Lint/DuplicateElsifCondition:
Enabled: true
Lint/DuplicateRescueException:
Enabled: true
Lint/EmptyConditionalBody:
Enabled: true
Lint/FloatComparison:
Enabled: true
Lint/OutOfRangeRegexpRef:
Enabled: true
Lint/SelfAssignment:
Enabled: true
Lint/UnreachableLoop:
Enabled: true
Lint/MixedRegexpCaptureTypes:
Enabled: true
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Lint/ConstantDefinitionInBlock:
Enabled: true
Exclude:
- spec/**/*.rb
Lint/DuplicateRequire:
Enabled: true
Lint/EmptyFile:
Enabled: true
Lint/TrailingCommaInAttributeDeclaration:
Enabled: true
Lint/UselessMethodDefinition:
Enabled: true
Lint/UselessTimes:
Enabled: true
Lint/DuplicateBranch:
Enabled: true
Lint/DuplicateRegexpCharacterClassElement:
Enabled: true
Lint/EmptyBlock:
Enabled: true
Lint/NoReturnInBeginEndBlocks:
Enabled: true
Lint/ToEnumArguments:
Enabled: true
Lint/UnmodifiedReduceAccumulator:
Enabled: true
#################
# Disabled cops #
#################
Lint/BinaryOperatorWithIdenticalOperands:
Enabled: false
Lint/MissingSuper:
Enabled: false
Lint/TopLevelReturnWithArgument:
Enabled: false
Lint/IdentityComparison:
Enabled: false
Lint/EmptyClass:
Enabled: false