-
Notifications
You must be signed in to change notification settings - Fork 166
/
.rubocop.yml
52 lines (52 loc) · 1.24 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
AllCops:
TargetRubyVersion: 2.7 # Oldest version kubeclient supports
NewCops: enable
Metrics/MethodLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Layout/LineLength:
Max: 100
Metrics/ParameterLists:
Max: 5
CountKeywordArgs: false
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/ModuleLength:
Enabled: false
Style/MethodCallWithArgsParentheses:
Enabled: true
IgnoredMethods: [require, raise, include, attr_reader, refute, assert, require_relative]
Exclude: [Gemfile, Rakefile, kubeclient.gemspec, Gemfile.dev.rb]
Metrics/BlockLength:
Exclude: [kubeclient.gemspec]
Security/MarshalLoad:
Exclude: [test/**/*]
Naming/FileName:
Exclude: [Gemfile, Rakefile, Gemfile.dev.rb]
Style/RegexpLiteral:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Layout/HashAlignment:
Enabled: false
Naming/MethodParameterName:
Enabled: false
Gemspec/OrderedDependencies:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/WordArray:
Enabled: false
Style/AccessorGrouping:
EnforcedStyle: separated
Style/NegatedIfElseCondition:
Enabled: false
Style/Semicolon:
Exclude: ["test/**/*.rb"]