mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
1d1227cc9a
commit
daaff886ad
@ -7,7 +7,8 @@ engines:
|
|||||||
enabled: true
|
enabled: true
|
||||||
config:
|
config:
|
||||||
languages:
|
languages:
|
||||||
- javascript
|
javascript:
|
||||||
|
mass_threshold: 100
|
||||||
ratings:
|
ratings:
|
||||||
paths:
|
paths:
|
||||||
- client/src/**
|
- client/src/**
|
||||||
|
Loading…
Reference in New Issue
Block a user