ci: run typecheck and eslint separately (#9966)

* ci: run typecheck and eslint separately

* fix syntax
This commit is contained in:
Kagami Sascha Rosylight 2023-02-17 02:57:40 +01:00 committed by GitHub
parent 8f9ce23e52
commit dd52be3a01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 4 deletions

View file

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