Skip to content

Commit

Permalink
Enable some Lint cops to prevent warnings
Browse files Browse the repository at this point in the history
Parity with ActiveAdmin to prevent introduction of new warnings

Manually fix a `Lint/UselessAssignment` warning

Ref: activeadmin/activeadmin#8597
  • Loading branch information
tagliala committed Jan 4, 2025
1 parent 2bd6d87 commit eecf75d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@ Layout/TrailingWhitespace:
Layout/TrailingEmptyLines:
Enabled: true

Lint/AmbiguousOperator:
Enabled: true

Lint/AmbiguousRegexpLiteral:
Enabled: true

Lint/UselessAssignment:
Enabled: true

Packaging/BundlerSetupInTests:
Enabled: true

Expand Down

0 comments on commit eecf75d

Please sign in to comment.