-
Notifications
You must be signed in to change notification settings - Fork 13
/
.rubocop.yml
59 lines (44 loc) · 937 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
AllCops:
TargetRubyVersion: 2.6
Exclude:
- 'test/rails_app/**/*.rb'
Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: double_quotes
Layout/LineLength:
Max: 120
Style/SignalException:
Exclude:
- 'lib/devise/passkeys/strategy.rb'
Style/ClassAndModuleChildren:
Enabled: false
Metrics/MethodLength:
Max: 50
Metrics/ModuleLength:
Max: 300
Layout/LineLength:
Max: 180
Lint/UselessAssignment:
Exclude:
- 'test/**/*.rb'
Metrics/BlockLength:
Exclude:
- 'test/**/*.rb'
Metrics/ClassLength:
Exclude:
- 'test/**/*.rb'
Naming/VariableNumber:
Exclude:
- 'test/**/*.rb'
Metrics/AbcSize:
Exclude:
- 'test/**/*.rb'
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
Enabled: true
Gemspec/DevelopmentDependencies: # new in 1.44
Enabled: true
Gemspec/RequireMFA: # new in 1.23
Enabled: true