-
Notifications
You must be signed in to change notification settings - Fork 876
/
Copy path.rubocop.yml
53 lines (37 loc) · 856 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
require:
- rubocop-rails
AllCops:
NewCops: disable
SuggestExtensions: false
TargetRubyVersion: 3.2.6
TargetRailsVersion: 7.2
Exclude:
- '**/vendor/**/*'
- '**/db/schema.rb'
- '**/db/migrate'
- '**/app/views/**/*'
##################### Style ##################################
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/RedundantParentheses:
Enabled: false
Style/ZeroLengthPredicate:
Enabled: false
##################### Metrics ##################################
Layout/LineLength:
Max: 110
Metrics/ClassLength:
Max: 200
Metrics/ModuleLength:
Max: 200
Metrics/AbcSize:
Max: 25
##################### Rails ##################################
Rails:
Enabled: true
Rails/LexicallyScopedActionFilter:
Enabled: false
Rails/OutputSafety:
Enabled: false