-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
58 lines (45 loc) · 1.1 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
inherit_gem:
rubocop-govuk:
- config/default.yml
- config/rails.yml
- config/rspec.yml
inherit_from:
- node_modules/@prettier/plugin-ruby/rubocop.yml
inherit_mode:
merge:
- Exclude
AllCops:
Exclude:
- scratchpad/*
Layout/EmptyLineAfterMagicComment:
Enabled: true
Lint/PercentStringArray:
Exclude:
- spec/models/dps_export_spec.rb
Rails/LexicallyScopedActionFilter:
Exclude:
- app/controllers/users/sessions_controller.rb
Rails/UnknownEnv:
Environments:
- development
- production
- staging
- test
RSpec/BeforeAfterAll:
Exclude:
- spec/jobs/text_delivery_job_spec.rb
RSpec/ContextWording:
Enabled: false
RSpec/ImplicitExpect:
EnforcedStyle: should
RSpec/VerifiedDoubles:
Exclude:
- spec/controllers/concerns/consent_form_mailer_concern_spec.rb
- spec/controllers/concerns/triage_mailer_concern_spec.rb
- spec/controllers/concerns/vaccination_mailer_concern_spec.rb
Style/FrozenStringLiteralComment:
Enabled: true
EnforcedStyle: always_true
Rails/ApplicationController:
Exclude:
- app/controllers/errors_controller.rb