Sha256: e1a02afbc9f200e3ede80739d8cea590e96fc07d5a48eb4ceb8e07c988678a31

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

##################### Rails ##################################

# 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

Rails:
  Enabled: true

Rails/ActionFilter:
  Description: 'Enforces consistent use of action filter methods.'
  Enabled: false

Rails/Delegate:
  Description: 'Prefer delegate method for delegations.'
  Enabled: false

Rails/HasAndBelongsToMany:
  Description: 'Prefer has_many :through to has_and_belongs_to_many.'
  Enabled: false

Rails/Output:
  Description: 'Checks for calls to puts, print, etc.'
  Enabled: false

Rails/ReadWriteAttribute:
  Description: 'Checks for read_attribute(:attr) and write_attribute(:attr, val).'
  Enabled: false

Rails/ScopeArgs:
  Description: 'Checks the arguments of ActiveRecord scopes.'
  Enabled: false

Rails/Validation:
  Description: 'Use sexy validations.'
  Enabled: false

Rails/SkipsModelValidations:
  Description: 'Avoid methods that skip model validations.'
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-govuk-2.0.0 config/rails.yml
rubocop-govuk-1.0.0 config/rails.yml