-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
45 lines (36 loc) · 960 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
AllCops:
NewCops: enable
require:
- rubocop-performance
inherit_gem:
rubocop-govuk:
- config/default.yml
- config/rails.yml
- config/rspec.yml
inherit_from:
- .rubocop_todo.yml
- node_modules/@prettier/plugin-ruby/rubocop.yml
inherit_mode:
merge:
- Exclude
Layout/LineLength:
Exclude:
- config/**/*.rb
- db/**/*.rb
- spec/lib/hmrc_interface/request/submission_spec.rb
- spec/lib/hmrc_interface/request/result_spec.rb
- spec/models/concerns/hmrc_interface_resultable_spec.rb
- spec/support/shared_contexts/hmrc_interface_stubs.rb
- spec/system/bulk_submission_form_dropzone_spec.rb
- spec/models/concerns/hmrc_interface_resultable_spec.rb
Style/NumericLiterals:
Exclude:
- db/schema.rb
Lint/AmbiguousBlockAssociation:
AllowedMethods: [change]
Lint/RedundantDirGlobSort:
Exclude:
- spec/system_helper.rb
Rails/SaveBang:
Exclude:
- spec/forms/bulk_submission_form_spec.rb