-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.rubocop.yml
More file actions
34 lines (33 loc) · 825 Bytes
/
.rubocop.yml
File metadata and controls
34 lines (33 loc) · 825 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
inherit_from: .rubocop_todo.yml
require:
- rubocop-performance
- rubocop-rails
AllCops:
Exclude:
- app/channels/application_cable/channel.rb
- app/channels/application_cable/connection.rb
- app/controllers/application_controller.rb
- app/controllers/catalog_controller.rb
- app/helpers/application_helper.rb
- app/jobs/application_job.rb
- app/mailers/application_mailer.rb
- app/models/application_record.rb
- app/models/solr_document.rb
- app/models/user.rb
TargetRubyVersion: 2.5
NewCops: enable
Layout/ExtraSpacing:
Exclude:
- lib/tasks/data/config/*
Metrics/BlockLength:
Exclude:
- lib/tasks/data.rake
Rails/UnknownEnv:
Environments:
- production
- development
- test
- indexer
Style/MixinUsage:
Exclude:
- lib/tasks/data/config/*.rb