-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.rubocop.yml
More file actions
28 lines (25 loc) · 832 Bytes
/
.rubocop.yml
File metadata and controls
28 lines (25 loc) · 832 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
inherit_gem:
rubocop-govuk:
- config/default.yml
- config/rails.yml
- config/rake.yml
- config/rspec.yml
inherit_mode:
merge:
- Exclude
# **************************************************************
# TRY NOT TO ADD OVERRIDES IN THIS FILE
#
# This repo is configured to follow the RuboCop GOV.UK styleguide.
# Any rules you override here will cause this repo to diverge from
# the way we write code in all other GOV.UK repos.
#
# See https://github.com/alphagov/rubocop-govuk/blob/main/CONTRIBUTING.md
# **************************************************************
# This cop is easily triggered on non-Active Record APIs, by excluding certain
# domain specific receivers we can reduce the need to disable this cop inline.
Rails/SaveBang:
AllowedReceivers:
- config
- indices
- messages