Skip to content

Commit e5d2682

Browse files
committed
SECZ-2495: Require CodeQL compatible syntax
1 parent d19a2a0 commit e5d2682

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

panolint-ruby-rubocop.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ Metrics/PerceivedComplexity:
7474
Naming/BinaryOperatorParameterName:
7575
Enabled: false
7676

77+
# CodeQL cannot parse anonymous block parameters
78+
Naming/BlockForwarding:
79+
EnforcedStyle: explicit
80+
7781
Naming/FileName:
7882
Exclude:
7983
- .overcommit/Gemfile
@@ -106,6 +110,10 @@ Style/Alias:
106110
Enabled: true
107111
EnforcedStyle: prefer_alias_method
108112

113+
# CodeQL cannot parse anonymous block parameters
114+
Style/ArgumentsForwarding:
115+
UseAnonymousForwarding: false
116+
109117
Style/ArrayCoercion:
110118
Enabled: true
111119

0 commit comments

Comments
 (0)