From 22a43725efcc5f954451224a50ee2809e344d281 Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 14 Mar 2024 11:16:44 +0100 Subject: [PATCH] Add a lint-modules script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3689750a6..10d0c6768 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ }, "scripts": { "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", "local": "npm-watch & npx http-server -a localhost -c-1", "start": "npx http-server -c-1"