Add a lint-modules script

pull/3259/head
Anton 2024-03-14 11:16:44 +01:00
parent 89898f1ce5
commit 22a43725ef
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@
}, },
"scripts": { "scripts": {
"lint-apps": "node bin/sync-lint-exemptions.mjs && eslint ./apps --ext .js", "lint-apps": "node bin/sync-lint-exemptions.mjs && eslint ./apps --ext .js",
"test": "node bin/sanitycheck.js && npm run lint-apps && eslint ./modules --ext .js", "lint-modules": "eslint ./modules --ext .js",
"test": "node bin/sanitycheck.js && npm run lint-apps && npm run lint-modules",
"update-local-apps": "./bin/create_apps_json.sh apps.local.json", "update-local-apps": "./bin/create_apps_json.sh apps.local.json",
"local": "npm-watch & npx http-server -a localhost -c-1", "local": "npm-watch & npx http-server -a localhost -c-1",
"start": "npx http-server -c-1" "start": "npx http-server -c-1"