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