forked from GoogleCloudPlatform/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
41 lines (31 loc) · 855 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
39
40
41
AllCops:
Exclude:
- 'build/**/*'
# We do not validate the templates as they will have code that will only be
# properly formatted when compiled for the target module. These files should
# be checked in their final generated form.
- 'products/**/files/*'
- 'products/**/examples/**/*'
- 'templates/**/*'
# TravisCI is installing the bundle deps in that directory.
- 'vendor/**/*'
Metrics/AbcSize:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Naming/MemoizedInstanceVariableName:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Metrics/LineLength:
Max: 100
Style/CommandLiteral:
EnforcedStyle: percent_x