Maintenance: updated codeclimate config to v2 and added exclude_patterns.

This commit is contained in:
Martin Gruner 2021-06-15 08:42:36 +02:00
parent c44196d7ab
commit dba3689711

View file

@ -1,5 +1,6 @@
---
engines:
version: "2"
plugins:
brakeman:
enabled: true
bundler-audit:
@ -23,23 +24,16 @@ engines:
rubocop:
enabled: true
channel: rubocop-1-10
ratings:
paths:
- Gemfile.lock
- "**.erb"
- "**.haml"
- "**.rb"
- "**.rhtml"
- "**.slim"
- "**.css"
- "**.coffee"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
exclude_paths:
- config/
- db/
- script/
- test/
- vendor/
exclude_patterns:
# Bundled thirdparty asset files
- "app/assets/javascripts/app/lib/**/*.js"
- "config/"
- "db/"
- "**/node_modules/"
- "script/"
- "public/assets/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/vendor/"
- "**/*.d.ts"