-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.rubocop.yml
More file actions
53 lines (43 loc) · 899 Bytes
/
.rubocop.yml
File metadata and controls
53 lines (43 loc) · 899 Bytes
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
plugins:
- rubocop-performance
- rubocop-rspec
- rubocop-rake
- rubocop-thread_safety
AllCops:
DisplayCopNames: true
NewCops: enable
Exclude:
- '**/*.yml'
- '**/*.yaml'
- '**/.tool-versions'
- 'coverage/**/*'
- 'frontend/node_modules/**/*'
- 'frontend/test-results/**/*'
- 'public/frontend/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
Layout/LineLength:
Max: 120
Metrics/BlockLength:
Exclude:
- Rakefile
AllowedMethods:
- route
Naming/RescuedExceptionsVariableName:
PreferredName: error
Layout/ClassStructure:
Enabled: true
Style/Documentation:
Enabled: false
AllowedConstants:
- App
RSpec/SpecFilePathFormat:
Exclude:
- 'spec/html2rss/web/app/*_spec.rb'
- 'spec/html2rss/web/app/health_check/auth_spec.rb'
RSpec/DescribeClass:
Enabled: false
RSpec/ExampleLength:
Max: 12
RSpec/MultipleExpectations:
Max: 2