inherit_from:
  - '.thoughtbot.rubocop.yml'

Style/BlockDelimiters:
  Enabled: true
  Exclude:
    - 'test/**/*_test.rb'
    - 'spec/**/*_spec.rb'

Style/BracesAroundHashParameters:
  Enabled: true
  Exclude:
    - 'test/**/*_test.rb'
    - 'spec/**/*_spec.rb'
    - 'spec/factories.rb'

Style/SymbolArray:
  Enabled: false

Layout/IndentHeredoc:
  Enabled: false

Layout/IndentHash:
  Enabled: true
  Exclude:
    - 'test/**/*_test.rb'
    - 'spec/**/*_spec.rb'
    - 'spec/factories.rb'

inherit_from:
  - '.thoughtbot.rubocop.yml'

Style/BlockDelimiters:
  Enabled: true
  Exclude:
    - 'test/**/*_test.rb'
    - 'spec/**/*_spec.rb'

Style/BracesAroundHashParameters:
  Enabled: true
  Exclude:
    - 'test/**/*_test.rb'
    - 'spec/**/*_spec.rb'
    - 'spec/factories.rb'

Style/SymbolArray:
  Enabled: false

Style/TrailingCommaInArrayLiteral:
  Enabled: true
  Exclude:
    - 'test/**/*_test.rb'
    - 'spec/**/*_spec.rb'
    - 'spec/factories.rb'

Style/TrailingCommaInHashLiteral:
  Enabled: true
  Exclude:
    - 'test/**/*_test.rb'
    - 'spec/**/*_spec.rb'
    - 'spec/factories.rb'

Layout/IndentHeredoc:
  Enabled: false

Layout/IndentHash:
  Enabled: true
  Exclude:
    - 'test/**/*_test.rb'
    - 'spec/**/*_spec.rb'
    - 'spec/factories.rb'

Configure RuboCop to allow pasting JSON in tests
Configure RuboCop to allow pasting JSON in tests

In order to support the transposition of JSON Schema declarations into
the test suite as fixture data, This commit configures RuboCop to ignore
the omission of trailing Hash and Array commas in `test/` and `spec/`
files.
