chore: upgrade oxlint

This commit is contained in:
LongYinan 2024-04-22 14:53:53 +08:00
parent 12aec3c135
commit 184806c5a4
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
2 changed files with 39 additions and 39 deletions

View file

@ -27,7 +27,7 @@
"format:prettier": "prettier . -w", "format:prettier": "prettier . -w",
"format:rs": "cargo fmt", "format:rs": "cargo fmt",
"format:toml": "taplo format", "format:toml": "taplo format",
"lint": "oxlint --import-plugin --ignore-path=./.oxlintignore --deny-warnings -D correctness", "lint": "oxlint --import-plugin --ignore-path=./.oxlintignore --deny-warnings -D correctness -A no-export",
"test": "lerna run test --concurrency=1 --ignore @napi-rs/cli", "test": "lerna run test --concurrency=1 --ignore @napi-rs/cli",
"test:without-lerna": "yarn workspaces foreach -A --exclude \"{cli,napi-rs}\" run test", "test:without-lerna": "yarn workspaces foreach -A --exclude \"{cli,napi-rs}\" run test",
"test:bun": "bun test examples/napi/__tests__/values.spec.ts", "test:bun": "bun test examples/napi/__tests__/values.spec.ts",
@ -81,7 +81,7 @@
"lerna": "^8.0.2", "lerna": "^8.0.2",
"lint-staged": "^15.2.1", "lint-staged": "^15.2.1",
"npm-run-all2": "^6.1.1", "npm-run-all2": "^6.1.1",
"oxlint": "^0.2.16", "oxlint": "^0.3.0",
"prettier": "^3.2.4", "prettier": "^3.2.4",
"rollup": "^4.9.6", "rollup": "^4.9.6",
"shx": "^0.3.4", "shx": "^0.3.4",

View file

@ -1601,58 +1601,58 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/darwin-arm64@npm:0.2.16": "@oxlint/darwin-arm64@npm:0.3.0":
version: 0.2.16 version: 0.3.0
resolution: "@oxlint/darwin-arm64@npm:0.2.16" resolution: "@oxlint/darwin-arm64@npm:0.3.0"
conditions: os=darwin & cpu=arm64 conditions: os=darwin & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/darwin-x64@npm:0.2.16": "@oxlint/darwin-x64@npm:0.3.0":
version: 0.2.16 version: 0.3.0
resolution: "@oxlint/darwin-x64@npm:0.2.16" resolution: "@oxlint/darwin-x64@npm:0.3.0"
conditions: os=darwin & cpu=x64 conditions: os=darwin & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/linux-arm64-gnu@npm:0.2.16": "@oxlint/linux-arm64-gnu@npm:0.3.0":
version: 0.2.16 version: 0.3.0
resolution: "@oxlint/linux-arm64-gnu@npm:0.2.16" resolution: "@oxlint/linux-arm64-gnu@npm:0.3.0"
conditions: os=linux & cpu=arm64 & libc=glibc conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/linux-arm64-musl@npm:0.2.16": "@oxlint/linux-arm64-musl@npm:0.3.0":
version: 0.2.16 version: 0.3.0
resolution: "@oxlint/linux-arm64-musl@npm:0.2.16" resolution: "@oxlint/linux-arm64-musl@npm:0.3.0"
conditions: os=linux & cpu=arm64 & libc=musl conditions: os=linux & cpu=arm64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/linux-x64-gnu@npm:0.2.16": "@oxlint/linux-x64-gnu@npm:0.3.0":
version: 0.2.16 version: 0.3.0
resolution: "@oxlint/linux-x64-gnu@npm:0.2.16" resolution: "@oxlint/linux-x64-gnu@npm:0.3.0"
conditions: os=linux & cpu=x64 & libc=glibc conditions: os=linux & cpu=x64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/linux-x64-musl@npm:0.2.16": "@oxlint/linux-x64-musl@npm:0.3.0":
version: 0.2.16 version: 0.3.0
resolution: "@oxlint/linux-x64-musl@npm:0.2.16" resolution: "@oxlint/linux-x64-musl@npm:0.3.0"
conditions: os=linux & cpu=x64 & libc=musl conditions: os=linux & cpu=x64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/win32-arm64@npm:0.2.16": "@oxlint/win32-arm64@npm:0.3.0":
version: 0.2.16 version: 0.3.0
resolution: "@oxlint/win32-arm64@npm:0.2.16" resolution: "@oxlint/win32-arm64@npm:0.3.0"
conditions: os=win32 & cpu=arm64 conditions: os=win32 & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/win32-x64@npm:0.2.16": "@oxlint/win32-x64@npm:0.3.0":
version: 0.2.16 version: 0.3.0
resolution: "@oxlint/win32-x64@npm:0.2.16" resolution: "@oxlint/win32-x64@npm:0.3.0"
conditions: os=win32 & cpu=x64 conditions: os=win32 & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
@ -8189,7 +8189,7 @@ __metadata:
lerna: "npm:^8.0.2" lerna: "npm:^8.0.2"
lint-staged: "npm:^15.2.1" lint-staged: "npm:^15.2.1"
npm-run-all2: "npm:^6.1.1" npm-run-all2: "npm:^6.1.1"
oxlint: "npm:^0.2.16" oxlint: "npm:^0.3.0"
prettier: "npm:^3.2.4" prettier: "npm:^3.2.4"
rollup: "npm:^4.9.6" rollup: "npm:^4.9.6"
shx: "npm:^0.3.4" shx: "npm:^0.3.4"
@ -8882,18 +8882,18 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"oxlint@npm:^0.2.16": "oxlint@npm:^0.3.0":
version: 0.2.16 version: 0.3.0
resolution: "oxlint@npm:0.2.16" resolution: "oxlint@npm:0.3.0"
dependencies: dependencies:
"@oxlint/darwin-arm64": "npm:0.2.16" "@oxlint/darwin-arm64": "npm:0.3.0"
"@oxlint/darwin-x64": "npm:0.2.16" "@oxlint/darwin-x64": "npm:0.3.0"
"@oxlint/linux-arm64-gnu": "npm:0.2.16" "@oxlint/linux-arm64-gnu": "npm:0.3.0"
"@oxlint/linux-arm64-musl": "npm:0.2.16" "@oxlint/linux-arm64-musl": "npm:0.3.0"
"@oxlint/linux-x64-gnu": "npm:0.2.16" "@oxlint/linux-x64-gnu": "npm:0.3.0"
"@oxlint/linux-x64-musl": "npm:0.2.16" "@oxlint/linux-x64-musl": "npm:0.3.0"
"@oxlint/win32-arm64": "npm:0.2.16" "@oxlint/win32-arm64": "npm:0.3.0"
"@oxlint/win32-x64": "npm:0.2.16" "@oxlint/win32-x64": "npm:0.3.0"
dependenciesMeta: dependenciesMeta:
"@oxlint/darwin-arm64": "@oxlint/darwin-arm64":
optional: true optional: true
@ -8913,7 +8913,7 @@ __metadata:
optional: true optional: true
bin: bin:
oxlint: bin/oxlint oxlint: bin/oxlint
checksum: 10c0/65bcc3e561bc9b407fa7a3d42d8f8a45bdfb4514ea1842632c86106da88dce38da60fa4779aa22245025ad0edfde77d05547a2cac436d0bdc558fc51ac82dd56 checksum: 10c0/82d91c029ae28bb6d131ab17f2341d377e39b1d00f9e027244115def4d830b429093c56532c0665092b95f804e56cf22fc78527d7bd9edc60f4270afa1bc9120
languageName: node languageName: node
linkType: hard linkType: hard