From 555438e993593557bc8242f480e668d225f03e63 Mon Sep 17 00:00:00 2001 From: porink0424 Date: Wed, 17 Apr 2024 15:42:31 +0900 Subject: [PATCH] Add type-check into lint flow --- optuna_dashboard/package.json | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/optuna_dashboard/package.json b/optuna_dashboard/package.json index c09e81bd..d30b20da 100644 --- a/optuna_dashboard/package.json +++ b/optuna_dashboard/package.json @@ -6,6 +6,7 @@ "main": "index.js", "scripts": { "watch": "NODE_ENV=development TYPESCRIPT_LOADER=esbuild-loader webpack --watch", + "lint": "npm run type-check", "build": "webpack", "build:dev": "NODE_ENV=development TYPESCRIPT_LOADER=esbuild-loader webpack", "build:prd": "NODE_ENV=production webpack", diff --git a/package.json b/package.json index 9e243cb4..1dda5f50 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { "fmt": "biome format --write . && biome check standalone_app vscode tslib --apply", - "lint": "npm run lint:eslint && npm run lint:biome", + "lint": "npm run lint:eslint && npm run lint:biome && cd optuna_dashboard && npm run lint", "lint:eslint": "eslint . --ext .ts,.tsx --max-warnings 0", "lint:biome": "biome format . && biome ci standalone_app vscode tslib" },