more config for codeclimate
This commit is contained in:
parent
b4019135f8
commit
697ea396da
1 changed files with 2 additions and 18 deletions
|
@ -1,16 +1,10 @@
|
||||||
---
|
---
|
||||||
engines:
|
engines:
|
||||||
brakeman:
|
|
||||||
enabled: true
|
|
||||||
bundler-audit:
|
|
||||||
enabled: true
|
|
||||||
duplication:
|
duplication:
|
||||||
enabled: true
|
enabled: true
|
||||||
config:
|
config:
|
||||||
languages:
|
languages:
|
||||||
count_threshold: 3 # rule of three
|
count_threshold: 3 # rule of three
|
||||||
ruby:
|
|
||||||
mass_threshold: 36 # default: 18
|
|
||||||
javascript:
|
javascript:
|
||||||
mass_threshold: 80 # default: 40
|
mass_threshold: 80 # default: 40
|
||||||
eslint:
|
eslint:
|
||||||
|
@ -18,21 +12,11 @@ engines:
|
||||||
channel: "eslint-3"
|
channel: "eslint-3"
|
||||||
fixme:
|
fixme:
|
||||||
enabled: true
|
enabled: true
|
||||||
rubocop:
|
|
||||||
enabled: true
|
|
||||||
exclude_fingerprints:
|
|
||||||
- 74f18007b920e8d81148d2f6a2756534
|
|
||||||
ratings:
|
ratings:
|
||||||
paths:
|
paths:
|
||||||
- 'Gemfile.lock'
|
|
||||||
- '**.erb'
|
|
||||||
- '**.rb'
|
|
||||||
- '**.js'
|
- '**.js'
|
||||||
- '**.jsx'
|
- '**.jsx'
|
||||||
exclude_paths:
|
exclude_paths:
|
||||||
- app/assets/images/
|
- public/images
|
||||||
- app/assets/javascripts/lib/
|
- public/lib
|
||||||
- src/patched/
|
- src/patched/
|
||||||
- db/
|
|
||||||
- script/
|
|
||||||
- spec/
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue