fix(build): add cc config
This commit is contained in:
parent
7806b0b5c0
commit
6cb6d18947
|
@ -0,0 +1,35 @@
|
||||||
|
version: "2"
|
||||||
|
|
||||||
|
checks:
|
||||||
|
method-complexity:
|
||||||
|
config:
|
||||||
|
threshold: 8 # 5 is *just* too low and flags a number of otherwise readable methods
|
||||||
|
method-lines:
|
||||||
|
config:
|
||||||
|
threshold: 40 # with object literals, lines are not a great measure
|
||||||
|
|
||||||
|
exclude_patterns:
|
||||||
|
- CHANGELOG.md
|
||||||
|
- config/
|
||||||
|
- docs/api/
|
||||||
|
- docs/dev/style.md
|
||||||
|
- src/migration/
|
||||||
|
- vendor/
|
||||||
|
|
||||||
|
plugins:
|
||||||
|
duplication:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
languages:
|
||||||
|
typescript:
|
||||||
|
mass_threshold: 225
|
||||||
|
eslint:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
config: config/eslint.json
|
||||||
|
fixme:
|
||||||
|
enabled: true
|
||||||
|
markdownlint:
|
||||||
|
enabled: true
|
||||||
|
shellcheck:
|
||||||
|
enabled: true
|
Loading…
Reference in New Issue