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

inherit_mode:
  merge:
    - Exclude

# It is a convention of this app that the files
# that define a smart answer have a name that matches
# its (hyphenated) URL.
Naming/FileName:
  Exclude:
    - lib/smart_answer_flows/*.rb
    - test/fixtures/smart_answer_flows/*.rb

# Long conditionals are inherent in smart answers, due
# to the complexity of the problem they represent. It is
# a convention of this app to comment the ending of these
# conditionals, to clarify which branches we are on.
Style/CommentedKeyword:
  Enabled: false

# This app does not have a DB
Rails/SaveBang:
  Enabled: false

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

inherit_mode:
  merge:
    - Exclude

# It is a convention of this app that the files
# that define a smart answer have a name that matches
# its (hyphenated) URL.
Naming/FileName:
  Exclude:
    - lib/smart_answer_flows/*.rb
    - test/fixtures/smart_answer_flows/*.rb
    - spec/fixtures/flows/*.rb

# Long conditionals are inherent in smart answers, due
# to the complexity of the problem they represent. It is
# a convention of this app to comment the ending of these
# conditionals, to clarify which branches we are on.
Style/CommentedKeyword:
  Enabled: false

# This app does not have a DB
Rails/SaveBang:
  Enabled: false

Update RuboCop to ignore filename in test fixtures
Update RuboCop to ignore filename in test fixtures

We need to ignore filename using kabab case for flow defintions.
