From a61dd3bd8371b344c2a72a2e9c8e9635d3d04720 Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Sat, 9 Nov 2024 20:29:10 +0800 Subject: [PATCH] release: v0.11.1 (#239) Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen --- package.json | 4 +- pnpm-lock.yaml | 74 +++++++++++++------------- src/__snapshots__/configs.spec.ts.snap | 9 ++++ src/generated/rules-by-category.ts | 3 ++ src/generated/rules-by-scope.ts | 3 ++ 5 files changed, 54 insertions(+), 39 deletions(-) diff --git a/package.json b/package.json index a053cd3..90638f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-oxlint", - "version": "0.11.0", + "version": "0.11.1", "description": "Turn off all rules already supported by oxlint", "type": "module", "types": "./dist/index.d.ts", @@ -64,7 +64,7 @@ "husky": "^9.1.6", "lint-staged": "^15.2.10", "memfs": "^4.14.0", - "oxlint": "^0.11.0", + "oxlint": "^0.11.1", "prettier": "^3.3.3", "scule": "^1.3.0", "shelljs": "^0.8.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b1740c0..411897e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,8 +49,8 @@ importers: specifier: ^4.14.0 version: 4.14.0 oxlint: - specifier: ^0.11.0 - version: 0.11.0 + specifier: ^0.11.1 + version: 0.11.1 prettier: specifier: ^3.3.3 version: 3.3.3 @@ -466,43 +466,43 @@ packages: '@oxc-node/core@0.0.15': resolution: {integrity: sha512-g8ip2dUKtxfZ5IqROmZbHz7OY/+GOG4dnhqgQezlYXCufUcWA+0GM+FqI0ZzA50njUFKCTAHXRiN+BqJPy4trA==} - '@oxlint/darwin-arm64@0.11.0': - resolution: {integrity: sha512-qQ1C5yvRYECp+FP8DCOSqNX4+e72xXyApJ2O8QyIeYFuGGF2MoDVQz3NYJEOjOfArZ9YXGsELwM3UFtjTGIZVg==} + '@oxlint/darwin-arm64@0.11.1': + resolution: {integrity: sha512-S+cHn49fT+qSJXhQ3Z4EG/5ENp2dAUbS2sMNkhgkLqlO8aYl0TR9R7omU3vpU/beu8ePnV+mdVlJYGjsPIMGtg==} cpu: [arm64] os: [darwin] - '@oxlint/darwin-x64@0.11.0': - resolution: {integrity: sha512-pAqp6/6+mAIPr8WBndzmEuRbcXW8WNdn80hd8fLeR9teJI8eMpTkYL6kQIU7VjJ3NxpmzBLO7nh979/bwmmuBQ==} + '@oxlint/darwin-x64@0.11.1': + resolution: {integrity: sha512-LPuF0D8uu30KIVEeVuGwIPwHwJRQ1i1otwFFH7tRsNXPgMgZJ4VgriyH22i6RWwBtclJoCSBLtGK6gLZ0oZBvw==} cpu: [x64] os: [darwin] - '@oxlint/linux-arm64-gnu@0.11.0': - resolution: {integrity: sha512-RmpjCWjX0RJ1MdIcqGQsOlXh9WgXnVgVolZLCs8MHqNuYtaIA+0VOxOhJOr7CQ0HmwV+ysPTAiQ2SVSI2tVJQQ==} + '@oxlint/linux-arm64-gnu@0.11.1': + resolution: {integrity: sha512-CYBE+GRIPs5e+raD2pdicuBn6Y6E1xAnyWQ/kHE4GEWDAQZY0Um2VYEUTGH2ObwJ3uXr6jeJ16HOKJvr0S8a8w==} cpu: [arm64] os: [linux] - '@oxlint/linux-arm64-musl@0.11.0': - resolution: {integrity: sha512-totBeaOeZlblKRpSZi3svVWpJjFlhxR7Xzrh3nhPTgHMM3696qjzyb80Yg0K8gAlOrIDlBblLG0JnaxvdM2yjg==} + '@oxlint/linux-arm64-musl@0.11.1': + resolution: {integrity: sha512-iYXF5N5Gv+lc2wt90kxXy/W0cn7IEWu3UPzewIjPGDH8ajDckvGzZx6pTGYJnTyMh7U6hUKwOBFPVLMWI7UwKQ==} cpu: [arm64] os: [linux] - '@oxlint/linux-x64-gnu@0.11.0': - resolution: {integrity: sha512-tXiJ97WH4vwTIkGMnXYPx5NqwQiYLW9MbmnGkKkm5Xv/wpAaN761PkHRJT0zsYoAgoU3nZVp3qhit9MpHq1SQg==} + '@oxlint/linux-x64-gnu@0.11.1': + resolution: {integrity: sha512-D0tT8X0CsK/bpdkGdLSmsGftG3VndjyAUJuNGt56JYn0UfuPDkhQcLgUlkANHzNRXJ84tLQKhpf/MUDUHPB5cg==} cpu: [x64] os: [linux] - '@oxlint/linux-x64-musl@0.11.0': - resolution: {integrity: sha512-LgjgD80fiz37g31t/jMm9kyDM31WPjcTkXXXU702WQsdhujXVUZDWid9/QeVvi51EVufyyekaTYgNR8REVVZZg==} + '@oxlint/linux-x64-musl@0.11.1': + resolution: {integrity: sha512-WekaLYk8WLT7Di8+nyPvtqs9OlMoO6KjFDMlqqLDWQTk9ffjn8e76PCRigF3w39jQ70qP3c8k8cNKNw5ROuFcg==} cpu: [x64] os: [linux] - '@oxlint/win32-arm64@0.11.0': - resolution: {integrity: sha512-lfANFSWt0vU6x9JQYeMEy6uy8wniZGYQt0nT45P3BwXIMhAJbEC3yEX+bP5x8eTQrgkDu4dwIDURGCeeUL/NdA==} + '@oxlint/win32-arm64@0.11.1': + resolution: {integrity: sha512-/CN/bFtI33vB8uemOkZxlNRf6Q7CftP2pSO7a6Q2niG4NC99YRPj7ctXcPF0jGR0NQUhGZk7ajM4G/0MKcRdag==} cpu: [arm64] os: [win32] - '@oxlint/win32-x64@0.11.0': - resolution: {integrity: sha512-5CHtAp82xbv0jnh/HGi3QE0ANBr3+R338MA0wgZXc7477Vuri0aSK0T9oRU+K/pVloPVJaWKSDCCZoiZIYckzg==} + '@oxlint/win32-x64@0.11.1': + resolution: {integrity: sha512-0hLl0z6adYTvLIOPC5uyo+EAwNITkzi4AY4xImykQW8H89GhiV9Xl8MPJeZQMWSz7ajI1I2+hRsvA0QAzeBsxA==} cpu: [x64] os: [win32] @@ -1518,8 +1518,8 @@ packages: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} - oxlint@0.11.0: - resolution: {integrity: sha512-uY6/R4k5bECwJBR+y8CqGRcUb5hxNReziBjt5+pk6DKxj46DqMd6HwEk090KnaH1czVf23r8mcEsJYGowMWeIA==} + oxlint@0.11.1: + resolution: {integrity: sha512-yVTkBmSvn1mo69vxBdNASOGFd1oqWzpaIWPFPIXNAHxgrW7FjotKuJ71j/pqtZH/sVSRWTpQFdmBa3CIuBEILg==} engines: {node: '>=14.*'} hasBin: true @@ -2363,28 +2363,28 @@ snapshots: '@oxc-node/core-win32-ia32-msvc': 0.0.15 '@oxc-node/core-win32-x64-msvc': 0.0.15 - '@oxlint/darwin-arm64@0.11.0': + '@oxlint/darwin-arm64@0.11.1': optional: true - '@oxlint/darwin-x64@0.11.0': + '@oxlint/darwin-x64@0.11.1': optional: true - '@oxlint/linux-arm64-gnu@0.11.0': + '@oxlint/linux-arm64-gnu@0.11.1': optional: true - '@oxlint/linux-arm64-musl@0.11.0': + '@oxlint/linux-arm64-musl@0.11.1': optional: true - '@oxlint/linux-x64-gnu@0.11.0': + '@oxlint/linux-x64-gnu@0.11.1': optional: true - '@oxlint/linux-x64-musl@0.11.0': + '@oxlint/linux-x64-musl@0.11.1': optional: true - '@oxlint/win32-arm64@0.11.0': + '@oxlint/win32-arm64@0.11.1': optional: true - '@oxlint/win32-x64@0.11.0': + '@oxlint/win32-x64@0.11.1': optional: true '@pkgjs/parseargs@0.11.0': @@ -3439,16 +3439,16 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 - oxlint@0.11.0: + oxlint@0.11.1: optionalDependencies: - '@oxlint/darwin-arm64': 0.11.0 - '@oxlint/darwin-x64': 0.11.0 - '@oxlint/linux-arm64-gnu': 0.11.0 - '@oxlint/linux-arm64-musl': 0.11.0 - '@oxlint/linux-x64-gnu': 0.11.0 - '@oxlint/linux-x64-musl': 0.11.0 - '@oxlint/win32-arm64': 0.11.0 - '@oxlint/win32-x64': 0.11.0 + '@oxlint/darwin-arm64': 0.11.1 + '@oxlint/darwin-x64': 0.11.1 + '@oxlint/linux-arm64-gnu': 0.11.1 + '@oxlint/linux-arm64-musl': 0.11.1 + '@oxlint/linux-x64-gnu': 0.11.1 + '@oxlint/linux-x64-musl': 0.11.1 + '@oxlint/win32-arm64': 0.11.1 + '@oxlint/win32-x64': 0.11.1 p-limit@2.3.0: dependencies: diff --git a/src/__snapshots__/configs.spec.ts.snap b/src/__snapshots__/configs.spec.ts.snap index 9d97956..a8ab545 100644 --- a/src/__snapshots__/configs.spec.ts.snap +++ b/src/__snapshots__/configs.spec.ts.snap @@ -161,6 +161,9 @@ exports[`contains all the oxlint rules 1`] = ` "@typescript-eslint/no-unsafe-declaration-merging": [ 0, ], + "@typescript-eslint/no-unsafe-function-type": [ + 0, + ], "@typescript-eslint/no-unused-vars": [ 0, ], @@ -236,6 +239,9 @@ exports[`contains all the oxlint rules 1`] = ` "import/export": [ 0, ], + "import/first": [ + 0, + ], "import/max-dependencies": [ 0, ], @@ -281,6 +287,9 @@ exports[`contains all the oxlint rules 1`] = ` "import/no-webpack-loader-syntax": [ 0, ], + "import/unambiguous": [ + 0, + ], "jest/consistent-test-it": [ 0, ], diff --git a/src/generated/rules-by-category.ts b/src/generated/rules-by-category.ts index 4d1f3b2..4fcd29b 100644 --- a/src/generated/rules-by-category.ts +++ b/src/generated/rules-by-category.ts @@ -36,6 +36,7 @@ const pedanticRules = { 'react/no-unescaped-entities': 'off', '@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/ban-types': 'off', + '@typescript-eslint/no-unsafe-function-type': 'off', '@typescript-eslint/prefer-enum-initializers': 'off', '@typescript-eslint/prefer-ts-expect-error': 'off', 'unicorn/consistent-empty-array-spread': 'off', @@ -118,6 +119,7 @@ const restrictionRules = { 'import/no-default-export': 'off', 'import/no-dynamic-require': 'off', 'import/no-webpack-loader-syntax': 'off', + 'import/unambiguous': 'off', 'jsdoc/check-access': 'off', 'jsdoc/empty-tags': 'off', 'node/no-new-require': 'off', @@ -171,6 +173,7 @@ const styleRules = { 'prefer-object-has-own': 'off', 'sort-imports': 'off', 'sort-keys': 'off', + 'import/first': 'off', 'jest/consistent-test-it': 'off', 'jest/max-expects': 'off', 'jest/max-nested-describe': 'off', diff --git a/src/generated/rules-by-scope.ts b/src/generated/rules-by-scope.ts index b9dc977..c586325 100644 --- a/src/generated/rules-by-scope.ts +++ b/src/generated/rules-by-scope.ts @@ -153,6 +153,7 @@ const typescriptRules = { '@typescript-eslint/no-this-alias': 'off', '@typescript-eslint/no-unnecessary-type-constraint': 'off', '@typescript-eslint/no-unsafe-declaration-merging': 'off', + '@typescript-eslint/no-unsafe-function-type': 'off', '@typescript-eslint/no-useless-empty-export': 'off', '@typescript-eslint/no-var-requires': 'off', '@typescript-eslint/no-wrapper-object-types': 'off', @@ -169,6 +170,7 @@ const typescriptRules = { const importRules = { 'import/default': 'off', 'import/export': 'off', + 'import/first': 'off', 'import/max-dependencies': 'off', 'import/named': 'off', 'import/namespace': 'off', @@ -184,6 +186,7 @@ const importRules = { 'import/no-self-import': 'off', 'import/no-unused-modules': 'off', 'import/no-webpack-loader-syntax': 'off', + 'import/unambiguous': 'off', } as const; const jestRules = {