mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Update code coverage script to fail if coverage drops below 100%, show only failures.
This commit is contained in:
parent
1fe04990a9
commit
d009e5b5be
2 changed files with 7 additions and 1 deletions
6
.nycrc.json
Normal file
6
.nycrc.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"branches": 100,
|
||||
"functions": 100,
|
||||
"lines": 100,
|
||||
"statements": 100
|
||||
}
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
"bugs": "https://github.com/DavidAnson/markdownlint/issues",
|
||||
"scripts": {
|
||||
"test": "nodeunit test/markdownlint-test.js",
|
||||
"test-cover": "nyc node_modules/nodeunit/bin/nodeunit test/markdownlint-test.js",
|
||||
"test-cover": "nyc --check-coverage --skip-full node_modules/nodeunit/bin/nodeunit test/markdownlint-test.js",
|
||||
"test-extra": "nodeunit test/markdownlint-test-extra.js",
|
||||
"debug": "node debug node_modules/nodeunit/bin/nodeunit",
|
||||
"lint": "eslint lib helpers test schema && eslint --env browser --global markdownit --global markdownlint --rule \"no-unused-vars: 0, no-extend-native: 0, max-statements: 0, no-console: 0, no-var: 0\" demo && eslint --rule \"no-console: 0, no-invalid-this: 0, no-shadow: 0, object-property-newline: 0\" example",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue