inherit_gem:
  rubocop-govuk:
    - config/default.yml
    - config/rails.yml

inherit_mode:
  merge:
    - Exclude

Style/CommentedKeyword:
  Enabled: false

Style/FormatStringToken:
  Enabled: false

Metrics/BlockLength:
  Exclude:
    - 'lib/tasks/**/*.rake'
    - 'lib/smart_answer_flows/**/*.rb'
    - 'test/**/*.rb'
    - 'spec/**/*.rb'

Rails/OutputSafety:
  Enabled: false
Rails/HelperInstanceVariable:
  Enabled: false

inherit_gem:
  rubocop-govuk:
    - config/default.yml
    - config/rails.yml

inherit_mode:
  merge:
    - Exclude

Naming/FileName:
  Exclude:
    - lib/smart_answer_flows/*.rb
    - test/fixtures/smart_answer_flows/*.rb

Style/CommentedKeyword:
  Enabled: false

Style/FormatStringToken:
  Enabled: false

Metrics/BlockLength:
  Exclude:
    - 'lib/tasks/**/*.rake'
    - 'lib/smart_answer_flows/**/*.rb'
    - 'test/**/*.rb'
    - 'spec/**/*.rb'

Rails/OutputSafety:
  Enabled: false
Rails/HelperInstanceVariable:
  Enabled: false

Allow hyphens in smart answer flow names
Allow hyphens in smart answer flow names

Smart answer flow file are coupled to the (hyphenated) slug used in
the URL. We could modify the code to support snake case file naming,
but this seems unnecessary given that what currently exists is an
explicit convention of this app.
