From 8e68670de2bb73afb354a692c3da805f83b997fc Mon Sep 17 00:00:00 2001 From: undefined Date: Thu, 12 May 2022 00:45:49 +0800 Subject: [PATCH] ui: fix workspace lint --- package.json | 4 ++-- packages/ui-default/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 45ee09b4..8c569b6d 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "benchmark": "cross-env BENCHMARK=true mocha", "lint": "eslint packages --ext ts --fix", "lint:ci": "eslint packages --ext ts", - "lint:ui": "yarn workspace @hydrooj/ui-default eslint --ext .js,.ts,.jsx,.tsx . --fix", - "lint:ui:ci": "yarn workspace @hydrooj/ui-default eslint --ext .js,.ts,.jsx,.tsx .", + "lint:ui": "yarn workspace @hydrooj/ui-default lint --ext .js,.ts,.jsx,.tsx . --fix", + "lint:ui:ci": "yarn workspace @hydrooj/ui-default lint --ext .js,.ts,.jsx,.tsx .", "typedoc": "cross-env NODE_OPTIONS=--max_old_space_size=8192 typedoc", "debug:all": "node --trace-warnings --async-stack-traces --trace-deprecation build/start --debug --template", "debug": "node --trace-warnings --async-stack-traces --trace-deprecation node_modules/hydrooj/bin/hydrooj --debug --template", diff --git a/packages/ui-default/package.json b/packages/ui-default/package.json index fba90f57..a3a4d343 100644 --- a/packages/ui-default/package.json +++ b/packages/ui-default/package.json @@ -7,7 +7,7 @@ "repository": "https://github.com/hydro-dev/Hydro.git", "preferUnplugged": true, "scripts": { - "lint": "eslint ." + "lint": "eslint" }, "devDependencies": { "@blueprintjs/core": "^4.3.0",