mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
daaff886ad
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
23 lines
365 B
YAML
23 lines
365 B
YAML
engines:
|
|
eslint:
|
|
enabled: true
|
|
scss-lint:
|
|
enabled: true
|
|
duplication:
|
|
enabled: true
|
|
config:
|
|
languages:
|
|
javascript:
|
|
mass_threshold: 100
|
|
ratings:
|
|
paths:
|
|
- client/src/**
|
|
- admin/client/src/**
|
|
exclude_paths:
|
|
- "client/dist/**"
|
|
- "admin/client/dist/**"
|
|
- "admin/thirdparty/**"
|
|
- "templates/"
|
|
- "tests/"
|
|
- "thirdparty/"
|