-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
41 lines (33 loc) · 953 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
# .rubocop.yml
AllCops:
TargetRubyVersion: 3.2.2
NewCops: enable
Include:
- '**/*.rb'
Exclude:
- 'lib/**/*'
- 'spec/**/*'
- 'db/**/*'
- 'bin/**/*'
- 'vendor/**/*'
- 'app/controllers/application_controller.rb'
- 'app/controllers/api/v0/job_assignment_controller.rb' # TODO: remove this line after refactoring
- 'app/controllers/api/v0/registrations_controller.rb' # TODO: remove this line after refactoring
- 'app/controllers/api/v0/authentications_controller.rb' # TODO: remove this line after refactoring
- 'app/controllers/api/v0/jobs_controller.rb' # TODO: remove this line after refactoring
Layout/LineLength:
Max: 200
Metrics/MethodLength:
Max: 40
Metrics/AbcSize:
Max: 31
Metrics/PerceivedComplexity:
Max: 10
Metrics/CyclomaticComplexity:
Max: 10
Metrics/ClassLength:
Enabled: false
Lint/SuppressedException:
Enabled: true
Style/SafeNavigationChainLength:
Enabled: false