From f30d54fe889c4da039c83bae0a91e624de689143 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Tue, 13 Dec 2022 00:40:30 +0900 Subject: [PATCH] Call `tsc --noEmit` also for backend/client (#9316) --- packages/backend/package.json | 2 +- packages/client/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/package.json b/packages/backend/package.json index 58d66fb1b6..7c84562980 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -9,7 +9,7 @@ "migrate": "typeorm migration:run -d ormconfig.js", "build": "tsc -p tsconfig.json || echo done. && tsc-alias -p tsconfig.json", "watch": "node watch.mjs", - "lint": "eslint --quiet \"src/**/*.ts\"", + "lint": "tsc --noEmit && eslint --quiet \"src/**/*.ts\"", "jest": "cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --forceExit --runInBand", "jest-and-coverage": "cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --coverage --forceExit --runInBand", "jest-clear": "cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --clearCache", diff --git a/packages/client/package.json b/packages/client/package.json index 850250c0f4..42e5c9ed01 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -4,7 +4,7 @@ "scripts": { "watch": "vite build --watch --mode development", "build": "vite build", - "lint": "eslint --quiet \"src/**/*.{ts,vue}\"" + "lint": "tsc --noEmit && eslint --quiet \"src/**/*.{ts,vue}\"" }, "dependencies": { "@discordapp/twemoji": "14.0.2",