mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-03-11 04:42:33 +01:00
Add .mjs to linting, switch from eslint-plugin-node (no longer maintained) to eslint-plugin-n, update suppressions.
This commit is contained in:
parent
a2b1353db5
commit
0294b9bcc8
9 changed files with 59 additions and 56 deletions
|
|
@ -43,7 +43,7 @@
|
|||
"example": "cd example && node standalone.js && grunt markdownlint --force && gulp markdownlint",
|
||||
"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 --max-warnings 0 .",
|
||||
"lint": "eslint --ext .js,.mjs --max-warnings 0 .",
|
||||
"lint-test-repos": "ava --timeout=5m test/markdownlint-test-repos.js",
|
||||
"serial-declaration-demo": "npm run build-declaration && npm-run-all --continue-on-error --parallel build-demo test-declaration",
|
||||
"test": "ava test/markdownlint-test.js test/markdownlint-test-config.js test/markdownlint-test-custom-rules.js test/markdownlint-test-helpers.js test/markdownlint-test-result-object.js test/markdownlint-test-scenarios.js",
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
"eslint": "8.26.0",
|
||||
"eslint-plugin-es": "4.1.0",
|
||||
"eslint-plugin-jsdoc": "39.3.24",
|
||||
"eslint-plugin-node": "11.1.0",
|
||||
"eslint-plugin-n": "15.3.0",
|
||||
"eslint-plugin-unicorn": "44.0.2",
|
||||
"globby": "13.1.2",
|
||||
"js-yaml": "4.1.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue