Sha256: be69e6aa13afe9d21768bdbc9f79a52bef7c1755fed809e77786ccee538d991e

Contents?: true

Size: 969 Bytes

Versions: 2

Compression:

Stored size: 969 Bytes

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
Rails:
  Enabled: false

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

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

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

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

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

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
govuk-lint-4.0.0 configs/rubocop/other-rails.yml
govuk-lint-3.11.5 configs/rubocop/other-rails.yml