@@ -1,5 +1,6 @@
---
-engines:
+version: "2"
+plugins:
brakeman:
enabled: true
bundler-audit:
@@ -23,23 +24,16 @@ engines:
rubocop:
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"