2019-09-17 12:45:15 +00:00
|
|
|
version: "2"
|
|
|
|
|
2019-11-09 22:50:30 +00:00
|
|
|
checks:
|
|
|
|
method-complexity:
|
|
|
|
config:
|
|
|
|
threshold: 6 # 5 is *just* too low and flags a number of otherwise readable methods
|
|
|
|
method-lines:
|
|
|
|
config:
|
|
|
|
threshold: 30 # with object literals, lines are not a great measure
|
|
|
|
|
2019-09-17 12:45:15 +00:00
|
|
|
exclude_patterns:
|
2019-09-23 13:13:44 +00:00
|
|
|
- CHANGELOG.md
|
2019-11-09 22:50:30 +00:00
|
|
|
- config/
|
2019-09-17 13:49:35 +00:00
|
|
|
- docs/api/
|
2019-09-28 20:23:34 +00:00
|
|
|
- docs/dev/style.md
|
2019-09-17 12:45:15 +00:00
|
|
|
- src/migration/
|
|
|
|
- vendor/
|
|
|
|
|
|
|
|
plugins:
|
|
|
|
duplication:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
languages:
|
|
|
|
typescript:
|
2019-11-09 22:50:30 +00:00
|
|
|
mass_threshold: 225
|
|
|
|
eslint:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
config: config/eslint.json
|
2019-09-17 12:45:15 +00:00
|
|
|
fixme:
|
|
|
|
enabled: true
|
|
|
|
markdownlint:
|
|
|
|
enabled: true
|
|
|
|
shellcheck:
|
|
|
|
enabled: true
|