ui: fix workspace lint

pull/356/head
undefined 2 years ago
parent 1e286b069f
commit 8e68670de2

@ -18,8 +18,8 @@
"benchmark": "cross-env BENCHMARK=true mocha", "benchmark": "cross-env BENCHMARK=true mocha",
"lint": "eslint packages --ext ts --fix", "lint": "eslint packages --ext ts --fix",
"lint:ci": "eslint packages --ext ts", "lint:ci": "eslint packages --ext ts",
"lint:ui": "yarn workspace @hydrooj/ui-default eslint --ext .js,.ts,.jsx,.tsx . --fix", "lint:ui": "yarn workspace @hydrooj/ui-default lint --ext .js,.ts,.jsx,.tsx . --fix",
"lint:ui:ci": "yarn workspace @hydrooj/ui-default eslint --ext .js,.ts,.jsx,.tsx .", "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", "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: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", "debug": "node --trace-warnings --async-stack-traces --trace-deprecation node_modules/hydrooj/bin/hydrooj --debug --template",

@ -7,7 +7,7 @@
"repository": "https://github.com/hydro-dev/Hydro.git", "repository": "https://github.com/hydro-dev/Hydro.git",
"preferUnplugged": true, "preferUnplugged": true,
"scripts": { "scripts": {
"lint": "eslint ." "lint": "eslint"
}, },
"devDependencies": { "devDependencies": {
"@blueprintjs/core": "^4.3.0", "@blueprintjs/core": "^4.3.0",

Loading…
Cancel
Save