---
exclude_paths:
- "app/assets/javascripts/dhtmlx*/*"
- "gems/pending/spec/*"
- "gems/pending/test/*"
- "gems/pending/*/test/*"
- "public/javascripts/timeline/*"
- "spec/*"
- "test/*"
engines:
  brakeman:
    # very slow :sad_panda:
    enabled: false
  bundler-audit:
    # requires Gemfile.lock
    enabled: false
  csslint:
    enabled: false
  duplication:
    enabled: true
    config:
      languages:
      - ruby
      - javascript
  eslint:
    # Still failing :sad_panda:
    enabled: false
    channel: "eslint-2"
  fixme:
    # let's enable later
    enabled: false
  markdownlint:
    # let's enable later
    enabled: false
  rubocop:
    enabled: true
ratings:
  paths:
  - Gemfile.lock
  - "**.erb"
  - "**.haml"
  - "**.rb"
  - "**.rhtml"
  - "**.slim"
  - "**.css"
  - "**.inc"
  - "**.js"
  - "**.jsx"
  - "**.module"

---
exclude_paths:
- ".git/"
- "**.yml"
- "**.svg"
- "app/assets/javascripts/dhtmlx*/"
- "config/dictionary_strings.rb"
- "config/model_attributes.rb"
- "config/yaml_strings.rb"
- "db/schema.rb"
- "db/schema.yml"
- "db/fixtures/**/*.yml"
- "db/migrate/20130923182042_collapsed_initial_migration.rb"
- "gems/pending/spec/"
- "gems/pending/test/"
- "gems/pending/*/test/"
- "gems/pending/metadata/linux/test/Packages"
- "gems/pending/metadata/linux/test/tc_LinuxUtils.rb"
- "gems/pending/VcoWebService/vmwo.wsdl"
- "gems/pending/VMwareWebService/wsdl41/"
- "locale/"
- "public/javascripts/timeline/"
- "spec/"
- "test/"
- "tmp/"
- "vendor/assets/"
engines:
  brakeman:
    # very slow :sad_panda:
    enabled: false
  bundler-audit:
    # requires Gemfile.lock
    enabled: false
  csslint:
    enabled: false
  duplication:
    enabled: true
    config:
      languages:
      - ruby
      - javascript
  eslint:
    # Still failing :sad_panda:
    enabled: false
    channel: "eslint-2"
  fixme:
    # let's enable later
    enabled: false
  markdownlint:
    # let's enable later
    enabled: false
  rubocop:
    enabled: true
ratings:
  paths:
  - Gemfile.lock
  - "**.erb"
  - "**.haml"
  - "**.rb"
  - "**.rhtml"
  - "**.slim"
  - "**.css"
  - "**.inc"
  - "**.js"
  - "**.jsx"
  - "**.module"

Add very large files to global exclude list.
Add very large files to global exclude list.

Let's also include ones you might see when running codeclimate CLI:
tmp, .git, etc.

Note, according to [1], you need to exclude folders like this:

```
exclude_paths:
- "tests/"
- "spec/"
- "**/vendor/"
```

(without the trailing * after the slash)

[1] https://docs.codeclimate.com/docs/excluding-files-and-folders
