-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
89 lines (78 loc) · 2.4 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
require: rubocop-rspec
inherit_gem:
bixby: bixby_default.yml
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.6
NewCops: disable
Exclude:
- 'bin/*'
- 'config/environments/**/*'
- 'db/**/*'
- 'node_modules/**/*'
- 'vendor/**/*'
Metrics/AbcSize:
Exclude:
- 'app/controllers/waiver_infos_controller.rb'
- 'app/mailers/waiver_mailer.rb'
- 'app/models/employee.rb'
- 'lib/author_status.rb'
- 'lib/tasks/import_waivers.rake'
Metrics/BlockLength:
Exclude:
- 'app/models/employee.rb'
- 'config/routes.rb'
- 'lib/tasks/import_authors.rake'
- 'lib/tasks/import_waivers.rake'
- 'lib/tasks/report.rake'
- 'spec/controllers/accounts_controller_spec.rb'
- 'spec/controllers/application_controller_spec.rb'
- 'spec/controllers/employees_controller_spec.rb'
- 'spec/controllers/waiver_infos_controller_spec.rb'
- 'spec/models/employee_spec.rb'
- 'spec/models/waiver_info_spec.rb'
- 'spec/requests/accounts_spec.rb'
- 'spec/requests/employees_spec.rb'
- 'lib/tasks/oawaiver.rake'
- 'lib/capistrano/tasks/oawaiver.rake'
- 'spec/mailers/waiver_mailer_spec.rb'
- 'spec/requests/waiver_infos_controller_spec.rb'
- 'spec/models/account_spec.rb'
- 'spec/rails_helper.rb'
Metrics/ClassLength:
Exclude:
- 'app/controllers/waiver_infos_controller.rb'
- 'app/models/employee.rb'
- 'lib/author_status.rb'
- 'app/mailers/waiver_mailer.rb'
- app/lib/author_status.rb
Metrics/CyclomaticComplexity:
Exclude:
- 'app/mailers/waiver_mailer.rb'
- 'app/models/employee.rb'
- 'app/models/waiver_info.rb'
- 'lib/author_status.rb'
- 'lib/tasks/import_waivers.rake'
Metrics/MethodLength:
Exclude:
- 'app/controllers/waiver_infos_controller.rb'
- 'app/mailers/waiver_mailer.rb'
- 'app/models/employee.rb'
- 'lib/author_status.rb'
- 'lib/tasks/import_waivers.rake'
- app/lib/author_status.rb
Metrics/PerceivedComplexity:
Exclude:
- 'lib/tasks/import_waivers.rake'
- 'app/mailers/waiver_mailer.rb'
- 'app/models/employee.rb'
- 'lib/author_status.rb'
RSpec/ExampleLength:
Exclude:
- 'spec/controllers/waiver_infos_controller_spec.rb'
- 'spec/models/employee_spec.rb'
- 'spec/requests/employees_spec.rb'
- 'spec/mailers/waiver_mailer_spec.rb'
- 'spec/requests/waiver_infos_controller_spec.rb'
Style/StringLiterals:
EnforcedStyle: double_quotes