-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
62 lines (59 loc) · 1.19 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
57
58
59
60
61
62
inherit_from: .rubocop_todo.yml
require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
- rubocop-factory_bot
AllCops:
NewCops: enable
Exclude:
- lib/templates/rspec/model/model_spec.rb
- lib/templates/rspec/scaffold/*
- db/schema.rb
- bin/bundle
Layout/LineLength:
Exclude:
- db/seeds.rb
Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Metrics/BlockLength:
Exclude:
- config/environments/*
RSpec/ExampleLength:
Exclude:
- spec/helpers/**/*
- spec/requests/**/*
- spec/views/**/*
RSpec/MultipleMemoizedHelpers:
Exclude:
- spec/requests/**/*
RSpec/MultipleExpectations:
Exclude:
- spec/helpers/**/*
- spec/requests/**/*
- spec/views/**/*
RSpec/NestedGroups:
Max: 4
Style/Documentation:
Exclude:
- app/controllers/**/*
- config/**/*
- spec/**/*
- db/**/*
Style/FrozenStringLiteralComment:
Exclude:
- solargraph_helper.rb
- db/migrate/*
Style/GlobalStdStream:
Exclude:
- config/**/*
Style/RedundantConstantBase:
Exclude:
- config/**/*
Style/RedundantFetchBlock:
Exclude:
- config/**/*
Style/StringLiterals:
Enabled: true
EnforcedStyle: single_quotes