---
engines:
  bundler-audit:
    enabled: true
  csslint:
    enabled: true
  duplication:
    enabled: true
    config:
      languages:
      - ruby
      - javascript
      - python
  eslint:
    enabled: true
    channel: "eslint-4"
  fixme:
    enabled: true
  radon:
    enabled: true
  rubocop:
    enabled: true
    channel: "rubocop-0-51"

ratings:
  paths:
  - Gemfile.lock
  - "**.css"
  - "**.inc"
  - "**.js"
  - "**.jsx"
  - "**.module"
  - "**.php"
  - "**.py"
  - "**.rb"

exclude_paths:
- node_modules/
- flow-typed/

---
engines:
  bundler-audit:
    enabled: true
  csslint:
    enabled: true
  duplication:
    enabled: true
    exclude_patterns:
    - "__tests__/"
    config:
      languages:
      - ruby
      - javascript
      - python
  eslint:
    enabled: true
    channel: "eslint-4"
  fixme:
    enabled: true
  radon:
    enabled: true
  rubocop:
    enabled: true
    channel: "rubocop-0-51"

ratings:
  paths:
  - Gemfile.lock
  - "**.css"
  - "**.inc"
  - "**.js"
  - "**.jsx"
  - "**.module"
  - "**.php"
  - "**.py"
  - "**.rb"

exclude_patterns:
- node_modules/
- flow-typed/

Exclude tests from duplication engine
Exclude tests from duplication engine

Specifically: ignore any directory (at any level) that is called "__tests__", but only in the duplication engine. (eslint rules should still apply to tests)

Also: switches from using `exclude_paths` to `exclude_patterns`.  The former is upconverted in the engine now.