-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.rubocop.yml
68 lines (50 loc) · 953 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
require: rubocop-rspec
AllCops:
Exclude:
- 'db/schema.rb'
- 'bin/*'
- 'vendor/**/*'
TargetRubyVersion: 2.5
TargetRailsVersion: 5.2
Metrics/BlockLength:
Exclude:
- 'config/environments/production.rb'
Style/ClassAndModuleChildren:
Enabled: false
Metrics/ClassLength:
Max: 250
Metrics/LineLength:
Max: 199
Metrics/MethodLength:
Max: 30
Rails:
Enabled: true
Style/BlockComments:
Enabled: false
Style/EmptyMethod:
Enabled: false
Style/Encoding:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Layout/LeadingCommentSpace:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
Enabled: false
Style/NumericLiterals:
Enabled: false
Style/SingleLineMethods:
Enabled: false
Style/StringLiterals:
Enabled: false
Rails/UnknownEnv:
Environments:
- demo
- dev
- development
- developmentdocker
- production
- qa
- staging
- test
- training