forked from ManageIQ/kubeclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
35 lines (35 loc) · 864 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
AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.2 # Oldest version kubeclient supports
MethodLength:
Enabled: false
ClassLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/LineLength:
Max: 100
Metrics/ParameterLists:
Max: 5
CountKeywordArgs: false
Metrics/CyclomaticComplexity:
Max: 8
Metrics/PerceivedComplexity:
Max: 8
Metrics/ModuleLength:
Enabled: false
Style/MethodCallWithArgsParentheses:
Enabled: true
IgnoredMethods: [require, raise, include, attr_reader, refute, assert]
Exclude: [Gemfile, Rakefile, kubeclient.gemspec, Gemfile.dev.rb]
Metrics/BlockLength:
Exclude: [kubeclient.gemspec]
Security/MarshalLoad:
Exclude: [test/**/*]
Style/FileName:
Exclude: [Gemfile, Rakefile, Gemfile.dev.rb]
Style/MethodCallWithArgsParentheses:
IgnoredMethods:
- require_relative
Style/RegexpLiteral:
Enabled: false