Maintenance: updated codeclimate config to v2 and added exclude_patterns.
This commit is contained in:
parent
c44196d7ab
commit
dba3689711
1 changed files with 15 additions and 21 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue