-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
53 lines (42 loc) · 995 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
46
47
48
49
50
51
52
53
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
Rails/ApplicationController:
Exclude:
- app/controllers/support_interface/support_interface_controller.rb
Rails/LexicallyScopedActionFilter:
Exclude:
- app/controllers/staff/**/*
- app/controllers/support_interface/staff_controller.rb
Rails/SaveBang:
Enabled: false
RSpec/Dialect:
PreferredMethods:
background: :before
scenario: :it
xscenario: :xit
given: :let
given!: :let!
feature: :describe
RSpec/InstanceVariable:
Exclude:
- spec/system/**/*
RSpec/AnyInstance:
Exclude:
- spec/logs/formatters/log_stash_formatter_spec.rb
Style/NumericLiterals:
Exclude:
- db/schema.rb
Style/BlockDelimiters:
Exclude:
- app/services/feature_flag.rb
Style/MethodCalledOnDoEndBlock:
Exclude:
- app/services/feature_flag.rb