This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
.rubocop.yml
92 lines (68 loc) · 1.85 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
inherit_from: .rubocop_todo.yml
AllCops:
Exclude:
- 'vendor/**/*'
- 'examples/*'
- 'geoengineer.gemspec'
- 'lib/geoengineer/templates/*'
Style/StringLiterals:
Enabled: false
Style/MethodCallWithoutArgsParentheses:
Enabled: false
# Given that GeoEngineer is a DSL which encourages similarity to multiline blocks this is disabled
Style/BlockDelimiters:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Lint/UnusedMethodArgument:
Enabled: false
# Increase these a bit
Metrics/LineLength:
Max: 130 # from 80
Metrics/MethodLength:
CountComments: false # count full line comments?
Max: 20 # from 10
# Rubocop auto-gen was not correctly identifying this.
Exclude:
- 'lib/geoengineer/resources/aws/ses/aws_ses_event_destination.rb'
- 'lib/geoengineer/resources/aws/vpc/aws_security_group.rb'
# Offense count: 2
Metrics/AbcSize:
Max: 20
# Rubocop auto-gen was not correctly identifying this.
Exclude:
- 'lib/geoengineer/resources/aws/ses/aws_ses_event_destination.rb'
- 'lib/geoengineer/resources/aws/api_gateway/helpers.rb'
- 'lib/geoengineer/resources/aws/vpc/aws_security_group.rb'
Style/Lambda:
Enabled: false
Style/BracesAroundHashParameters:
EnforcedStyle: braces
Style/RedundantSelf:
Enabled: false
Lint/UnusedBlockArgument:
Enabled: false
Style/WordArray:
Enabled: false
Metrics/ClassLength:
CountComments: false # count full line comments?
Max: 300
Metrics/ModuleLength:
CountComments: false # count full line comments?
Max: 300
Style/FrozenStringLiteralComment:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/SymbolArray:
Enabled: false
Style/MethodMissingSuper:
Enabled: false
Style/MissingRespondToMissing:
Enabled: false
Security/YAMLLoad:
Enabled: false
Style/RegexpLiteral:
Enabled: false