mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-12 06:02:12 +08:00
chore: oxlint-tsgolint
This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
"lefthook": "catalog:",
|
"lefthook": "catalog:",
|
||||||
"oxfmt": "catalog:",
|
"oxfmt": "catalog:",
|
||||||
"oxlint": "catalog:",
|
"oxlint": "catalog:",
|
||||||
"oxlint-tsgolint": "^0.16.0",
|
"oxlint-tsgolint": "catalog:",
|
||||||
"playwright": "catalog:",
|
"playwright": "catalog:",
|
||||||
"rimraf": "catalog:",
|
"rimraf": "catalog:",
|
||||||
"tailwindcss": "catalog:",
|
"tailwindcss": "catalog:",
|
||||||
|
|||||||
5
pnpm-lock.yaml
generated
5
pnpm-lock.yaml
generated
@@ -309,6 +309,9 @@ catalogs:
|
|||||||
oxlint:
|
oxlint:
|
||||||
specifier: ^1.55.0
|
specifier: ^1.55.0
|
||||||
version: 1.55.0
|
version: 1.55.0
|
||||||
|
oxlint-tsgolint:
|
||||||
|
specifier: ^0.16.0
|
||||||
|
version: 0.16.0
|
||||||
pinia-plugin-persistedstate:
|
pinia-plugin-persistedstate:
|
||||||
specifier: ^4.7.1
|
specifier: ^4.7.1
|
||||||
version: 4.7.1
|
version: 4.7.1
|
||||||
@@ -569,7 +572,7 @@ importers:
|
|||||||
specifier: 'catalog:'
|
specifier: 'catalog:'
|
||||||
version: 1.55.0(oxlint-tsgolint@0.16.0)
|
version: 1.55.0(oxlint-tsgolint@0.16.0)
|
||||||
oxlint-tsgolint:
|
oxlint-tsgolint:
|
||||||
specifier: ^0.16.0
|
specifier: 'catalog:'
|
||||||
version: 0.16.0
|
version: 0.16.0
|
||||||
playwright:
|
playwright:
|
||||||
specifier: 'catalog:'
|
specifier: 'catalog:'
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ catalog:
|
|||||||
ora: ^9.3.0
|
ora: ^9.3.0
|
||||||
oxfmt: ^0.40.0
|
oxfmt: ^0.40.0
|
||||||
oxlint: ^1.55.0
|
oxlint: ^1.55.0
|
||||||
|
oxlint-tsgolint: ^0.16.0
|
||||||
pinia: ^3.0.4
|
pinia: ^3.0.4
|
||||||
pinia-plugin-persistedstate: ^4.7.1
|
pinia-plugin-persistedstate: ^4.7.1
|
||||||
pkg-types: ^2.3.0
|
pkg-types: ^2.3.0
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ async function runLint({ format }: LintCommandOptions) {
|
|||||||
await execaCommand(`oxlint . --fix`, {
|
await execaCommand(`oxlint . --fix`, {
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
});
|
});
|
||||||
|
await execaCommand(`oxlint . --type-aware --fix`, {
|
||||||
|
stdio: 'inherit',
|
||||||
|
});
|
||||||
await execaCommand(`eslint . --cache --fix`, {
|
await execaCommand(`eslint . --cache --fix`, {
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
});
|
});
|
||||||
@@ -31,7 +34,10 @@ async function runLint({ format }: LintCommandOptions) {
|
|||||||
execaCommand(`oxfmt .`, {
|
execaCommand(`oxfmt .`, {
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
}),
|
}),
|
||||||
execaCommand(`oxlint . --fix`, {
|
execaCommand(`oxlint .`, {
|
||||||
|
stdio: 'inherit',
|
||||||
|
}),
|
||||||
|
execaCommand(`oxlint . --type-aware`, {
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
}),
|
}),
|
||||||
execaCommand(`eslint . --cache`, {
|
execaCommand(`eslint . --cache`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user