Skip to content

Commit 49f6f01

Browse files
chore: disable dangerous rubocop auto correct rule (#62)
1 parent c4e2a83 commit 49f6f01

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.rubocop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ Lint/MissingSuper:
8484
Lint/UnusedMethodArgument:
8585
AutoCorrect: false
8686

87+
# This option is prone to causing accidental bugs.
88+
Lint/UselessAssignment:
89+
AutoCorrect: false
90+
Exclude:
91+
- "examples/**/*.rb"
92+
8793
Metrics/AbcSize:
8894
Enabled: false
8995

0 commit comments

Comments
 (0)