generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
40 lines (34 loc) · 1.09 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
require:
- rubocop-performance
inherit_gem:
rubocop-govuk:
- config/default.yml
- config/rails.yml
- config/rspec.yml
inherit_mode:
merge:
- Exclude
AllCops:
Exclude:
- 'config/initializers/filter_parameter_logging.rb'
- 'config/environments/development.rb'
- 'config/environments/test.rb'
RSpec/NoExpectationExample:
Exclude:
- 'spec/flows/under_eighteen_flow_spec.rb'
- 'spec/flows/controlled_work_spec.rb'
- 'spec/flows/self_employment_flow_spec.rb'
- 'spec/flows/outgoings_flow_spec.rb'
- 'spec/flows/household_flow_spec.rb'
- 'spec/flows/early_result_spec.rb'
- 'spec/flows/early_result_change_answers_flow_spec.rb'
- 'spec/flows/change_answers_flow_spec.rb'
- 'spec/flows/certificated_passporting_spec.rb'
- 'spec/flows/asylum_and_immigration_flow_spec.rb'
- 'spec/flows/certificated_partner_spec.rb'
- 'spec/flows/certificated_non_passported_spec.rb'
Bundler/OrderedGems:
Enabled: false
# RailsAdmin's base controller should _not_ inherit from ApplicationController
Rails/ApplicationController:
Enabled: false