Sha256: 59b9916eca8f5fb361f4b43b82570cebffa3f827a3522735522ce878eb74be31

Contents?: true

Size: 799 Bytes

Versions: 1

Compression:

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

# We commonly print output in Ruby code that has been
# extracted from a Rake task in 'lib/'.
Rails/Output:
  Exclude:
    - 'lib/**/*.rb'

# It's unclear what remedial action to take for the total
# set of methods this Cop has issues with. For example, we
# use 'update_all' in many of our repos, for which there is
# no efficient alternative. Instead, we should only enable
# this Cop for methods that have a clear alternative.
Rails/SkipsModelValidations:
  Blacklist:
    - update_attribute

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-govuk-3.11.0 config/rails.yml