-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop.yml
58 lines (47 loc) · 1011 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
require:
- rubocop-capybara
- rubocop-factory_bot
- rubocop-performance
- rubocop-rails
- rubocop-rspec
- rubocop-rspec_rails
AllCops:
TargetRailsVersion: 7.2
TargetRubyVersion: 3.3
NewCops: enable
DisplayStyleGuide: true
ExtraDetails: true
Exclude:
- '.git/**/*'
- 'bin/*'
- 'db/**/*'
- 'log/**/*'
- 'node_modules/**/*'
- 'public/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
Layout/LineLength:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/MethodLength:
Exclude:
- 'spec/**/*'
Metrics/ModuleLength:
Exclude:
- 'spec/**/*'
RSpec/DescribeClass:
Exclude:
- 'spec/features/**/*'
- 'spec/requests/**/*'
- 'spec/system/**/*'
Style/Documentation:
Enabled: false
Style/HashSyntax:
EnforcedShorthandSyntax: never
Style/IfUnlessModifier:
Enabled: false
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: consistent_comma