Skip to content

Commit a72ddee

Browse files
committed
Ignore rubocop false positives caused by Lint/UselessConstantScoping.
1 parent a805ba8 commit a72ddee

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
@@ -26,3 +26,9 @@ Lint/EmptyBlock:
2626
Lint/MissingSuper:
2727
Exclude:
2828
- 'lib/ronin/vulns/web_vuln.rb'
29+
30+
# ignore false positives
31+
Lint/UselessConstantScoping:
32+
Exclude:
33+
- 'lib/ronin/vulns/command_injection.rb'
34+
- 'lib/ronin/vulns/sqli.rb'

0 commit comments

Comments
 (0)