Skip to content

Commit c4fd8d2

Browse files
committed
Disable Lint/UselessConstantScoping
Sometimes having constants right next to where they're used makes sense. The alternatives are draggin them to the top of the file where they make no sense out of context. Fixes #703
1 parent 1c67ccb commit c4fd8d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ Lint/UselessAssignment:
864864
Enabled: true
865865

866866
Lint/UselessConstantScoping:
867-
Enabled: true
867+
Enabled: false
868868

869869
Lint/UselessDefined:
870870
Enabled: true

0 commit comments

Comments
 (0)