summaryrefslogtreecommitdiff
path: root/packages/sw
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2023-02-17 02:57:40 +0100
committerGitHub <noreply@github.com>2023-02-17 10:57:40 +0900
commitdd52be3a01fca4831cccb82d7fe1585cfbfd01cf (patch)
tree010d062f996de468bd08d67ebbb723a05e691e9e /packages/sw
parentstyle(backend): fix all eslint errors (#9967) (diff)
downloadsharkey-dd52be3a01fca4831cccb82d7fe1585cfbfd01cf.tar.gz
sharkey-dd52be3a01fca4831cccb82d7fe1585cfbfd01cf.tar.bz2
sharkey-dd52be3a01fca4831cccb82d7fe1585cfbfd01cf.zip
ci: run typecheck and eslint separately (#9966)
* ci: run typecheck and eslint separately * fix syntax
Diffstat (limited to 'packages/sw')
-rw-r--r--packages/sw/package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/sw/package.json b/packages/sw/package.json
index 8650f9597b..4de260fcfc 100644
--- a/packages/sw/package.json
+++ b/packages/sw/package.json
@@ -4,7 +4,9 @@
"scripts": {
"watch": "node build.js watch",
"build": "node build.js",
- "lint": "tsc --noEmit && eslint --quiet src/**/*.ts"
+ "typecheck": "tsc --noEmit",
+ "eslint": "eslint --quiet src/**/*.ts",
+ "lint": "pnpm typecheck && pnpm eslint"
},
"dependencies": {
"esbuild": "0.14.42",