0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-11-21 13:51:28 +01:00

Add "--max-warnings 0" to eslint command.

This commit is contained in:
David Anson 2024-04-29 20:56:24 -07:00
parent fc4acb52a3
commit fdaeb9f010

View file

@ -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"
},