add CodeClimate config
This commit is contained in:
parent
751654cdad
commit
d460678c9a
1 changed files with 36 additions and 0 deletions
36
.codeclimate.yml
Normal file
36
.codeclimate.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
---
|
||||||
|
engines:
|
||||||
|
brakeman:
|
||||||
|
enabled: true
|
||||||
|
bundler-audit:
|
||||||
|
enabled: true
|
||||||
|
csslint:
|
||||||
|
enabled: true
|
||||||
|
duplication:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
languages:
|
||||||
|
- ruby
|
||||||
|
- javascript
|
||||||
|
eslint:
|
||||||
|
enabled: true
|
||||||
|
channel: "eslint-2"
|
||||||
|
fixme:
|
||||||
|
enabled: true
|
||||||
|
rubocop:
|
||||||
|
enabled: true
|
||||||
|
ratings:
|
||||||
|
paths:
|
||||||
|
- Gemfile.lock
|
||||||
|
- "**.erb"
|
||||||
|
- "**.haml"
|
||||||
|
- "**.rb"
|
||||||
|
- "**.css"
|
||||||
|
- "**.js"
|
||||||
|
exclude_paths:
|
||||||
|
- config/
|
||||||
|
- db/
|
||||||
|
- features/
|
||||||
|
- script/
|
||||||
|
- spec/
|
||||||
|
- vendor/
|
||||||
Loading…
Reference in a new issue