Sha256: c868146dee3ba1e38a60d03812d5df8867c00b7ee5d357f408ff37337a68bb90

Contents?: true

Size: 909 Bytes

Versions: 3

Compression:

Stored size: 909 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

require: rubocop-rails

AllCops:
  Exclude:
    - 'db/schema.rb'
    - 'db/migrate/201*'

Rails:
  Enabled: true

# Introduced in: c69a7eb3af955d6c4c0cf0c3cec8e9f330c74429
# TODO: unclear why this is here!
Rails/HasAndBelongsToMany:
  Description: 'Prefer has_many :through to has_and_belongs_to_many.'
  Enabled: false

# Introduced in: c69a7eb3af955d6c4c0cf0c3cec8e9f330c74429
# TODO: unclear why this is here!
Rails/Output:
  Description: 'Checks for calls to puts, print, etc.'
  Enabled: false

# Introduced in: 91d7bf4895db12727582ad7bf47bdcb20ab178f7
# TODO: unclear (in any real detail) why this is here!
Rails/SkipsModelValidations:
  Description: 'Avoid methods that skip model validations.'
  Enabled: false

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubocop-govuk-3.10.0 config/rails.yml
rubocop-govuk-3.9.0 config/rails.yml
rubocop-govuk-3.8.0 config/rails.yml