From 184806c5a4df1dcec67f78b25830b546993bbfdf Mon Sep 17 00:00:00 2001 From: LongYinan Date: Mon, 22 Apr 2024 14:53:53 +0800 Subject: [PATCH] chore: upgrade oxlint --- package.json | 4 +-- yarn.lock | 74 ++++++++++++++++++++++++++-------------------------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/package.json b/package.json index 0d4d6ee1..4d1b4c78 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "format:prettier": "prettier . -w", "format:rs": "cargo fmt", "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:without-lerna": "yarn workspaces foreach -A --exclude \"{cli,napi-rs}\" run test", "test:bun": "bun test examples/napi/__tests__/values.spec.ts", @@ -81,7 +81,7 @@ "lerna": "^8.0.2", "lint-staged": "^15.2.1", "npm-run-all2": "^6.1.1", - "oxlint": "^0.2.16", + "oxlint": "^0.3.0", "prettier": "^3.2.4", "rollup": "^4.9.6", "shx": "^0.3.4", diff --git a/yarn.lock b/yarn.lock index f06be94a..c2e8aaa8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1601,58 +1601,58 @@ __metadata: languageName: node linkType: hard -"@oxlint/darwin-arm64@npm:0.2.16": - version: 0.2.16 - resolution: "@oxlint/darwin-arm64@npm:0.2.16" +"@oxlint/darwin-arm64@npm:0.3.0": + version: 0.3.0 + resolution: "@oxlint/darwin-arm64@npm:0.3.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@oxlint/darwin-x64@npm:0.2.16": - version: 0.2.16 - resolution: "@oxlint/darwin-x64@npm:0.2.16" +"@oxlint/darwin-x64@npm:0.3.0": + version: 0.3.0 + resolution: "@oxlint/darwin-x64@npm:0.3.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@oxlint/linux-arm64-gnu@npm:0.2.16": - version: 0.2.16 - resolution: "@oxlint/linux-arm64-gnu@npm:0.2.16" +"@oxlint/linux-arm64-gnu@npm:0.3.0": + version: 0.3.0 + resolution: "@oxlint/linux-arm64-gnu@npm:0.3.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@oxlint/linux-arm64-musl@npm:0.2.16": - version: 0.2.16 - resolution: "@oxlint/linux-arm64-musl@npm:0.2.16" +"@oxlint/linux-arm64-musl@npm:0.3.0": + version: 0.3.0 + resolution: "@oxlint/linux-arm64-musl@npm:0.3.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@oxlint/linux-x64-gnu@npm:0.2.16": - version: 0.2.16 - resolution: "@oxlint/linux-x64-gnu@npm:0.2.16" +"@oxlint/linux-x64-gnu@npm:0.3.0": + version: 0.3.0 + resolution: "@oxlint/linux-x64-gnu@npm:0.3.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@oxlint/linux-x64-musl@npm:0.2.16": - version: 0.2.16 - resolution: "@oxlint/linux-x64-musl@npm:0.2.16" +"@oxlint/linux-x64-musl@npm:0.3.0": + version: 0.3.0 + resolution: "@oxlint/linux-x64-musl@npm:0.3.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@oxlint/win32-arm64@npm:0.2.16": - version: 0.2.16 - resolution: "@oxlint/win32-arm64@npm:0.2.16" +"@oxlint/win32-arm64@npm:0.3.0": + version: 0.3.0 + resolution: "@oxlint/win32-arm64@npm:0.3.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@oxlint/win32-x64@npm:0.2.16": - version: 0.2.16 - resolution: "@oxlint/win32-x64@npm:0.2.16" +"@oxlint/win32-x64@npm:0.3.0": + version: 0.3.0 + resolution: "@oxlint/win32-x64@npm:0.3.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -8189,7 +8189,7 @@ __metadata: lerna: "npm:^8.0.2" lint-staged: "npm:^15.2.1" npm-run-all2: "npm:^6.1.1" - oxlint: "npm:^0.2.16" + oxlint: "npm:^0.3.0" prettier: "npm:^3.2.4" rollup: "npm:^4.9.6" shx: "npm:^0.3.4" @@ -8882,18 +8882,18 @@ __metadata: languageName: node linkType: hard -"oxlint@npm:^0.2.16": - version: 0.2.16 - resolution: "oxlint@npm:0.2.16" +"oxlint@npm:^0.3.0": + version: 0.3.0 + resolution: "oxlint@npm:0.3.0" dependencies: - "@oxlint/darwin-arm64": "npm:0.2.16" - "@oxlint/darwin-x64": "npm:0.2.16" - "@oxlint/linux-arm64-gnu": "npm:0.2.16" - "@oxlint/linux-arm64-musl": "npm:0.2.16" - "@oxlint/linux-x64-gnu": "npm:0.2.16" - "@oxlint/linux-x64-musl": "npm:0.2.16" - "@oxlint/win32-arm64": "npm:0.2.16" - "@oxlint/win32-x64": "npm:0.2.16" + "@oxlint/darwin-arm64": "npm:0.3.0" + "@oxlint/darwin-x64": "npm:0.3.0" + "@oxlint/linux-arm64-gnu": "npm:0.3.0" + "@oxlint/linux-arm64-musl": "npm:0.3.0" + "@oxlint/linux-x64-gnu": "npm:0.3.0" + "@oxlint/linux-x64-musl": "npm:0.3.0" + "@oxlint/win32-arm64": "npm:0.3.0" + "@oxlint/win32-x64": "npm:0.3.0" dependenciesMeta: "@oxlint/darwin-arm64": optional: true @@ -8913,7 +8913,7 @@ __metadata: optional: true bin: oxlint: bin/oxlint - checksum: 10c0/65bcc3e561bc9b407fa7a3d42d8f8a45bdfb4514ea1842632c86106da88dce38da60fa4779aa22245025ad0edfde77d05547a2cac436d0bdc558fc51ac82dd56 + checksum: 10c0/82d91c029ae28bb6d131ab17f2341d377e39b1d00f9e027244115def4d830b429093c56532c0665092b95f804e56cf22fc78527d7bd9edc60f4270afa1bc9120 languageName: node linkType: hard