Skip to content

Commit

Permalink
add new cops
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowenterodt committed Nov 11, 2024
1 parent f1a96f5 commit 98d4bbe
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,9 @@ Lint/DuplicateRequire:
Lint/DuplicateRescueException:
Enabled: true

Lint/DuplicateSetElement:
Enabled: false

Lint/EachWithObjectArgument:
Enabled: true

Expand Down Expand Up @@ -798,6 +801,9 @@ Lint/TripleQuotes:
Lint/UnderscorePrefixedVariableName:
Enabled: true

Lint/UnescapedBracketInRegexp:
Enabled: false

Lint/UnexpectedBlockArity:
Enabled: false

Expand Down Expand Up @@ -980,6 +986,9 @@ Style/Alias:
Enabled: true
EnforcedStyle: prefer_alias_method

Style/AmbiguousEndlessMethodDefinition:
Enabled: false

Style/AndOr:
Enabled: true

Expand Down Expand Up @@ -1017,6 +1026,9 @@ Style/BeginBlock:
Style/BisectedAttrAccessor:
Enabled: false

Style/BitwisePredicate:
Enabled: false

Style/BlockComments:
Enabled: true

Expand Down Expand Up @@ -1063,6 +1075,9 @@ Style/ColonMethodCall:
Style/ColonMethodDefinition:
Enabled: true

Style/CombinableDefined:
Enabled: false

Style/CombinableLoops:
Enabled: false

Expand Down Expand Up @@ -1290,6 +1305,9 @@ Style/InvertibleUnlessCondition:
Style/IpAddresses:
Enabled: false

Style/KeywordArgumentsMerging:
Enabled: false

Style/KeywordParametersOrder:
Enabled: true

Expand Down Expand Up @@ -1655,6 +1673,9 @@ Style/SafeNavigation:
- try
- try!

Style/SafeNavigationChainLength:
Emabled: false

Style/Sample:
Enabled: true

Expand Down

0 comments on commit 98d4bbe

Please sign in to comment.