Run linter with 'npm run test'

This commit is contained in:
Alexander Petros 2024-01-18 10:22:15 -05:00
parent 5ea7767c1d
commit 4af2f75ae1

View File

@ -28,7 +28,7 @@
"dist": "./scripts/dist.sh",
"lint": "eslint src/htmx.js test/attributes/ test/core/ test/util/",
"format": "eslint --fix src/htmx.js test/attributes/ test/core/ test/util/",
"test": "mocha-chrome test/index.html",
"test": "npm run lint && mocha-chrome test/index.html",
"test-types": "tsc --project ./jsconfig.json",
"ws-tests": "cd ./test/ws-sse && node ./server.js",
"www": "bash ./scripts/www.sh"