Skip to content

Commit

Permalink
Enable new cops (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamniedzielski committed Jun 14, 2024
1 parent 294607f commit 45e2b04
Showing 1 changed file with 1 addition and 61 deletions.
62 changes: 1 addition & 61 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ AllCops:
- 'spec/spec_helper.rb'
- 'vendor/bundle/**/*'
SuggestExtensions: false
NewCops: enable
Style/StringLiterals:
Enabled: false
Style/Documentation:
Expand All @@ -25,64 +26,3 @@ Metrics/BlockLength:
- 'spec/**/*'
Metrics/MethodLength:
Max: 15

Gemspec/DeprecatedAttributeAssignment:
Enabled: true
Layout/SpaceBeforeBrackets:
Enabled: true
Lint/AmbiguousAssignment:
Enabled: true
Lint/DeprecatedConstants:
Enabled: true
Lint/DuplicateBranch:
Enabled: true
Lint/DuplicateRegexpCharacterClassElement:
Enabled: true
Lint/EmptyBlock:
Enabled: true
Lint/EmptyClass:
Enabled: true
Lint/LambdaWithoutLiteralBlock:
Enabled: true
Lint/NoReturnInBeginEndBlocks:
Enabled: true
Lint/NumberedParameterAssignment:
Enabled: true
Lint/OrAssignmentToConstant:
Enabled: true
Lint/RedundantDirGlobSort:
Enabled: true
Lint/SymbolConversion:
Enabled: true
Lint/ToEnumArguments:
Enabled: true
Lint/TripleQuotes:
Enabled: true
Lint/UnexpectedBlockArity:
Enabled: true
Lint/UnmodifiedReduceAccumulator:
Enabled: true
Style/ArgumentsForwarding:
Enabled: true
Style/CollectionCompact:
Enabled: true
Style/DocumentDynamicEvalDefinition:
Enabled: true
Style/EndlessMethod:
Enabled: true
Style/HashConversion:
Enabled: true
Style/HashExcept:
Enabled: true
Style/IfWithBooleanLiteralBranches:
Enabled: true
Style/NegatedIfElseCondition:
Enabled: true
Style/NilLambda:
Enabled: true
Style/RedundantArgument:
Enabled: true
Style/StringChars:
Enabled: true
Style/SwapValues:
Enabled: true

0 comments on commit 45e2b04

Please sign in to comment.