-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.rubocop_cms.yml
47 lines (47 loc) · 963 Bytes
/
.rubocop_cms.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
Documentation:
Enabled: false
Metrics/LineLength:
Max: 120
Metrics/MethodLength:
Max: 15
Style/ClassAndModuleChildren:
Enabled: false
Style/CollectionMethods:
Enabled: false
Layout/DotPosition:
EnforcedStyle: leading
Style/FormatString:
Enabled: false
Style/AndOr:
EnforcedStyle: conditionals
Style/Not:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/RaiseArgs:
Enabled: false
Style/RegexpLiteral:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/StringLiterals:
EnforcedStyle: single_quotes
Lint/ShadowingOuterLocalVariable:
Enabled: false
AllCops:
Exclude:
- 'app/helpers/application_helper.rb'
- 'bin/**/*'
- 'config/**/*'
- 'db/**/*'
- 'Guardfile'
- 'lib/tasks/**/*'
- 'node_modules/**/*'
- 'script/**/*'
- 'spec/spec_helper.rb'
- 'spec/cassettes/**/*'
- 'features/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- 'spec/models/word_document_spec.rb'
- 'lib/cms/link_type/*.rb'