diff --git a/.codeclimate.yml b/.codeclimate.yml index 362ccd0ed..c254d7bae 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -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"