mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-12-22 12:53:32 +01:00
Add "--max-warnings 0" to eslint command.
This commit is contained in:
parent
fc4acb52a3
commit
fdaeb9f010
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
"build": "ncc build markdownlint-cli2-action.js",
|
||||
"docker-npm-install": "docker run --rm --tty --name npm-install --volume $PWD:/home/workdir --workdir /home/workdir --user node node:16 npm install",
|
||||
"docker-npm-run-upgrade": "docker run --rm --tty --name npm-run-upgrade --volume $PWD:/home/workdir --workdir /home/workdir --user node node:16 npm run upgrade",
|
||||
"lint": "eslint *.js eslint.config.mjs && markdownlint-cli2 *.md",
|
||||
"lint": "eslint *.js eslint.config.mjs --max-warnings 0 && markdownlint-cli2 *.md",
|
||||
"test": "npm run lint && npm run build && git diff --exit-code",
|
||||
"upgrade": "npx --yes npm-check-updates --upgrade"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue