misc mjs lint script

This commit is contained in:
jean-emmanuel 2025-09-12 15:51:35 +02:00
parent 43a7a37ee6
commit 7836db8327

View file

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