Skip to content

Commit eecf75d

Browse files
committed
Enable some Lint cops to prevent warnings
Parity with ActiveAdmin to prevent introduction of new warnings Manually fix a `Lint/UselessAssignment` warning Ref: activeadmin/activeadmin#8597
1 parent 2bd6d87 commit eecf75d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.rubocop.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ Layout/TrailingWhitespace:
8686
Layout/TrailingEmptyLines:
8787
Enabled: true
8888

89+
Lint/AmbiguousOperator:
90+
Enabled: true
91+
92+
Lint/AmbiguousRegexpLiteral:
93+
Enabled: true
94+
95+
Lint/UselessAssignment:
96+
Enabled: true
97+
8998
Packaging/BundlerSetupInTests:
9099
Enabled: true
91100

0 commit comments

Comments
 (0)