mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-17 12:30:35 +08:00
Add type-check into lint flow
This commit is contained in:
@@ -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",
|
||||
|
||||
+1
-1
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user