Limiting CodeClimate mass_threshold on duplication

It's way too sensitive by default (40) for JSX-style JavaScript ASTs.
Example: https://codeclimate.com/github/silverstripe/silverstripe-framework/pull/5895

See https://docs.codeclimate.com/docs/duplication and
https://docs.codeclimate.com/v1.0/docs/duplication-concept
This commit is contained in:
Ingo Schommer 2016-08-28 14:09:43 +12:00
parent 1d1227cc9a
commit daaff886ad

View File

@ -7,7 +7,8 @@ engines:
enabled: true
config:
languages:
- javascript
javascript:
mass_threshold: 100
ratings:
paths:
- client/src/**