Skip to content

Commit 532b0ff

Browse files
committed
update rubocop configuration for CI
1 parent 8b1029c commit 532b0ff

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.rubocop.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,22 @@ inherit_gem:
22
rubocop-github:
33
- config/default.yml
44
require: rubocop-performance
5+
6+
AllCops:
7+
TargetRubyVersion: 2.6
8+
9+
# Disable cops that are not consistently available across all Ruby versions
10+
Style/ClassMethodsDefinitions:
11+
Enabled: false
12+
13+
Style/OrAssignment:
14+
Enabled: false
15+
16+
GitHub/AvoidObjectSendWithDynamicMethod:
17+
Enabled: false
18+
19+
Layout/SpaceInsideHashLiteralBraces:
20+
Enabled: false
21+
22+
Lint/ParenthesesAsGroupedExpression:
23+
Enabled: false

0 commit comments

Comments
 (0)