From ae6e98347031f3903863ce372b4ccfadbc8374bd Mon Sep 17 00:00:00 2001 From: David Anson Date: Thu, 25 Apr 2024 20:37:17 -0700 Subject: [PATCH] Restore "--max-warnings 0" to ESLint command to avoid halting due to ignored bundle(.web).js. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8316550..f4ccbe3 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "ci": "npm test && npm run test-ui", "compile": "webpack --mode production", "compile-debug": "webpack --mode none", - "lint": "eslint --ignore-pattern bundle.js --ignore-pattern bundle.web.js *.js *.cjs test-ui/*.cjs eslint.config.mjs --max-warnings 0 && markdownlint-cli2 *.md", + "lint": "eslint --ignore-pattern bundle.js --ignore-pattern bundle.web.js *.js *.cjs test-ui/*.cjs eslint.config.mjs && markdownlint-cli2 *.md", "schema": "cpy ./node_modules/markdownlint/schema/markdownlint-config-schema.json . --flat && cpy ./node_modules/markdownlint-cli2/schema/markdownlint-cli2-config-schema.json . --flat", "test": "node --test --experimental-test-coverage && npm run lint && npm run compile && npm run schema && git diff --exit-code", "test-ui": "node ./test-ui/run-tests.mjs",