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