config/rails.yml in rubocop-govuk-2.0.0 vs config/rails.yml in rubocop-govuk-3.0.0
- old
+ new
@@ -3,9 +3,13 @@
# By default Rails is switched off so this can be used by non-Rails apps,
# this can be enabled in a local .rubocop.yml file
require: rubocop-rails
+AllCops:
+ Exclude:
+ - 'db/schema.rb'
+
Rails:
Enabled: true
Rails/ActionFilter:
Description: 'Enforces consistent use of action filter methods.'