-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
49 lines (40 loc) · 838 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
inherit_from: .rubocop_todo.yml
require:
- rubocop-rails
- rubocop-rspec
- rubocop-rspec_rails
AllCops:
NewCops: enable
TargetRubyVersion: 3.2
Exclude:
- 'spec/internal/config/**/*'
- 'spec/internal/db/**/*'
- 'spec/internal/db/schema.rb'
- 'vendor/**/*'
Rails:
Enabled: true
Rails/ApplicationJob:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/Documentation:
Enabled: false
Layout/LineLength:
AutoCorrect: true
Max: 80
Metrics/BlockLength:
AllowedMethods:
- "included"
Exclude:
- "*.gemspec"
- "**/*.rake"
- "**/*.builder"
- "spec/internal/config/environments/*"
- "config/routes.rb"
- "db/migrate/*"
- "**/*_spec.rb"
- "spec/factories.rb"
- "spec/rails_helper.rb"
Metrics/MethodLength:
Exclude:
- "db/migrate/*"