AllCops:
  Exclude:
    - 'db/schema.rb'
    - 'lib/tasks/cucumber.rake'

Metrics/BlockLength:
  Enabled: false

# This doesn't pass at the moment, as there are some empty lines
# around comments
Layout/EmptyLinesAroundArguments:
  Enabled: false

Style/EvalWithLocation:
  Exclude:
    - 'app/helpers/admin/edition_routes_helper.rb'

Naming/VariableNumber:
  EnforcedStyle: snake_case

Style/FormatStringToken:
  Exclude:
    - 'config/routes.rb'

Style/MethodMissing:
  Exclude:
    - 'app/helpers/admin/edition_routes_helper.rb'
    - 'app/presenters/edition_collection_presenter.rb'
    - 'features/support/retrospective_stub.rb'
    - 'lib/localised_model.rb'

AllCops:
  Exclude:
    - 'db/schema.rb'
    - 'lib/tasks/cucumber.rake'

Metrics/BlockLength:
  Enabled: false

# This doesn't pass at the moment, as there are some empty lines
# around comments
Layout/EmptyLinesAroundArguments:
  Enabled: false

Style/EvalWithLocation:
  Exclude:
    - 'app/helpers/admin/edition_routes_helper.rb'

Naming/VariableNumber:
  EnforcedStyle: snake_case

Style/FormatStringToken:
  Exclude:
    - 'config/routes.rb'
    # Hopefully this file can be removed soon...
    - 'lib/migrate_assets_to_asset_manager.rb'
    - 'lib/tasks/scheduled_publishing.rake'

Style/MethodMissing:
  Exclude:
    - 'app/helpers/admin/edition_routes_helper.rb'
    - 'app/presenters/edition_collection_presenter.rb'
    - 'features/support/retrospective_stub.rb'
    - 'lib/localised_model.rb'

Exclude a couple more files from Style/FormatStringToken
Exclude a couple more files from Style/FormatStringToken

To get to the point where all of the Whitehall code is considered ok
by the linter.
