From 7836db83275999276d771944822b2030e80a5058 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Sep 2025 15:51:35 +0200 Subject: [PATCH] misc mjs lint script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0b476230..a3fa8b3a 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,8 @@ "build-launcher-js": "rollup -c scripts/launcher.rollup.config.js", "watch-launcher": "npm run build-launcherr-js -- --watch", "build-docs": "node scripts/build-widgets-reference.js > resources/docs/docs/widgets/properties-reference.md && cd resources && python3 -m mkdocs build", - "test": "eslint src && npm run build && node tests/test.js" + "lint": "eslint src --ext mjs", + "test": "npm run lint && npm run build && node tests/test.js" }, "engines": { "node": ">=16 <=20"