-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
50 lines (50 loc) · 985 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
42
43
44
45
46
47
48
49
50
AllCops:
Exclude:
- 'db/migrate/**'
- 'db/schema.rb'
- 'node_modules/**/*'
# Auto-generated binstubs have all sorts of errors
- 'bin/**'
Documentation:
Enabled: false
Style/AccessModifierDeclarations:
Enabled: false
Style/EmptyMethod:
Enabled: false
Style/EmptyCaseCondition:
Enabled: false
Layout/DotPosition:
EnforcedStyle: trailing
Layout/MultilineOperationIndentation:
Enabled: true
EnforcedStyle: indented
Style/FrozenStringLiteralComment:
Enabled: false
Style/GlobalVars:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Metrics/BlockLength:
ExcludedMethods:
- context
- define
- describe
- draw
- factory
- feature
- it
- namespace
- proc
- shared_examples
- shared_examples_for
- task
Metrics/ModuleLength:
Enabled: false
Metrics/ClassLength:
Max: 250
Metrics/MethodLength:
Max: 30
Metrics/AbcSize:
Enabled: false