configs/rubocop/other-rails.yml in govuk-lint-4.0.0 vs configs/rubocop/other-rails.yml in govuk-lint-4.0.1
- old
+ new
@@ -3,36 +3,36 @@
# 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
Rails:
Enabled: false
-ActionFilter:
+Rails/ActionFilter:
Description: 'Enforces consistent use of action filter methods.'
Enabled: false
-Delegate:
+Rails/Delegate:
Description: 'Prefer delegate method for delegations.'
Enabled: false
-HasAndBelongsToMany:
+Rails/HasAndBelongsToMany:
Description: 'Prefer has_many :through to has_and_belongs_to_many.'
Enabled: false
-Output:
+Rails/Output:
Description: 'Checks for calls to puts, print, etc.'
Enabled: false
-ReadWriteAttribute:
+Rails/ReadWriteAttribute:
Description: 'Checks for read_attribute(:attr) and write_attribute(:attr, val).'
Enabled: false
-ScopeArgs:
+Rails/ScopeArgs:
Description: 'Checks the arguments of ActiveRecord scopes.'
Enabled: false
-Validation:
+Rails/Validation:
Description: 'Use sexy validations.'
Enabled: false
-SkipsModelValidations:
+Rails/SkipsModelValidations:
Description: 'Avoid methods that skip model validations.'
Enabled: false