-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
57 lines (54 loc) · 1.21 KB
/
.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
inherit_from: .rubocop_todo.yml
inherit_gem:
rswag-specs: .rubocop_rspec_alias_config.yml
rubocop-github:
- config/default.yml # generic Ruby rules and cops
- config/rails.yml # Rails-specific rules and cops
require:
- rubocop-factory_bot
- rubocop-rails
- rubocop-rspec
- rubocop-rspec_rails
AllCops:
TargetRubyVersion: 3.3
NewCops: enable
Exclude:
- "db/schema.rb"
- "lib/tasks/**/*"
- "vendor/**/*"
- "frontend/**/*"
- "sorbet/**"
- "sorbet/**/*"
- "frontend/**"
Style/Documentation:
Enabled: false
Rails/BulkChangeTable:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Rails/RedundantPresenceValidationOnBelongsTo:
Enabled: false
FactoryBot/FactoryAssociationWithStrategy:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/NestedGroups:
Enabled: false
Metrics/AbcSize:
Enabled: false
Style/SafeNavigationChainLength:
Enabled: false