-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
38 lines (38 loc) · 956 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Metrics/PerceivedComplexity:
Max: 16
Metrics/MethodLength:
Max: 60
Exclude:
- 'Contents/Resources/test/tc_customizer.rb'
Metrics/AbcSize:
Max: 60
Exclude:
- 'Contents/Resources/test/tc_customizer.rb'
Metrics/CyclomaticComplexity:
Max: 16
Metrics/BlockLength:
Max: 50
Exclude:
- 'Contents/Resources/server.rb'
Metrics/ClassLength:
Max: 200
Style/SymbolProc:
# Style/SymbolProc can break when using map with refine in Ruby 2.4>
Enabled: false
Style/FrozenStringLiteralComment:
# This rule doesn't work when run locally
Enabled: false
Style/SafeNavigation:
# This rule doesn't work when run locally
Enabled: false
Style/NumericPredicate:
# This rule doesn't work when run locally
Enabled: false
AllCops:
Exclude:
- '**/node_modules/**/*'
- '**/vendor/**/*'
- '**/bundle/**/*'
- '**/bin/**/*'
- '**/Contents/Resources/test/data/repla-test-jekyll/**/*'
- '**/Contents/Resources/gems/**/*'