From 701c1e20d220ca6422d579014d83dc17f954e424 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 18:09:18 +0000 Subject: [PATCH 1/2] chore(deps): update dependency @commencis/eslint-config to v1.4.3 --- package.json | 2 +- pnpm-lock.yaml | 189 +++---------------------------------------------- 2 files changed, 10 insertions(+), 181 deletions(-) diff --git a/package.json b/package.json index 5e674e5..0c14e1f 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "devDependencies": { "@changesets/cli": "2.27.9", "@commencis/commitlint-config": "1.1.0", - "@commencis/eslint-config": "1.4.0", + "@commencis/eslint-config": "1.4.3", "@commencis/prettier-config": "1.1.0", "@commitlint/cli": "19.5.0", "@svitejs/changesets-changelog-github-compact": "1.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 68f32dc..011508e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: 1.1.0 version: 1.1.0 '@commencis/eslint-config': - specifier: 1.4.0 - version: 1.4.0(@types/eslint@9.6.1)(eslint@9.14.0(jiti@1.21.6))(prettier@3.3.3)(typescript@5.6.3) + specifier: 1.4.3 + version: 1.4.3(@types/eslint@9.6.1)(eslint@9.14.0(jiti@1.21.6))(prettier@3.3.3)(typescript@5.6.3) '@commencis/prettier-config': specifier: 1.1.0 version: 1.1.0 @@ -287,8 +287,8 @@ packages: '@commencis/commitlint-config@1.1.0': resolution: {integrity: sha512-nJdku+Y/dsTMfwoo66gnG3dg60hzMUVcQN50dkA/S4GrIDBq132nk8d/0lpqukm1Wn1swyvhvunYzJhUIBwOzg==} - '@commencis/eslint-config@1.4.0': - resolution: {integrity: sha512-KsynzUEWKAq0UJMOS2xxhuBTGu1tv3ZbrhxrK0gqPCGGgq19WYz4wfWgPCIhwjIMS1JIGmvvqo25J/9VrzIt2g==} + '@commencis/eslint-config@1.4.3': + resolution: {integrity: sha512-2kWr6zyYqAYwaCEPvpDwbo2akPw35XE0/R+JN+8PXiEXwn2jE1QL036b8J5xuSP9OfqcnRewkTVQiHiqjUZMFA==} peerDependencies: eslint: '>= 9.7' @@ -758,9 +758,6 @@ packages: '@manypkg/get-packages@1.1.3': resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} - '@next/eslint-plugin-next@15.0.2': - resolution: {integrity: sha512-R9Jc7T6Ge0txjmqpPwqD8vx6onQjynO9JT73ArCYiYPvSrwYXepH/UY/WdKDY8JPWJl72sAE4iGMHPeQ5xdEWg==} - '@next/eslint-plugin-next@15.0.3': resolution: {integrity: sha512-3Ln/nHq2V+v8uIaxCR6YfYo7ceRgZNXfTd3yW1ukTaFbO+/I8jNakrjYWODvG9BuR2v5kgVtH/C8r0i11quOgw==} @@ -911,17 +908,6 @@ packages: '@types/node@22.8.7': resolution: {integrity: sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==} - '@typescript-eslint/eslint-plugin@8.12.2': - resolution: {integrity: sha512-gQxbxM8mcxBwaEmWdtLCIGLfixBMHhQjBqR8sVWNTPpcj45WlYL2IObS/DNMLH1DBP0n8qz+aiiLTGfopPEebw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 - eslint: ^8.57.0 || ^9.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/eslint-plugin@8.13.0': resolution: {integrity: sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -933,16 +919,6 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.12.2': - resolution: {integrity: sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/parser@8.13.0': resolution: {integrity: sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -953,23 +929,10 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.12.2': - resolution: {integrity: sha512-gPLpLtrj9aMHOvxJkSbDBmbRuYdtiEbnvO25bCMza3DhMjTQw0u7Y1M+YR5JPbMsXXnSPuCf5hfq0nEkQDL/JQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.13.0': resolution: {integrity: sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.12.2': - resolution: {integrity: sha512-bwuU4TAogPI+1q/IJSKuD4shBLc/d2vGcRT588q+jzayQyjVK2X6v/fbR4InY2U2sgf8MEvVCqEWUzYzgBNcGQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/type-utils@8.13.0': resolution: {integrity: sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -979,23 +942,10 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.12.2': - resolution: {integrity: sha512-VwDwMF1SZ7wPBUZwmMdnDJ6sIFk4K4s+ALKLP6aIQsISkPv8jhiw65sAK6SuWODN/ix+m+HgbYDkH+zLjrzvOA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/types@8.13.0': resolution: {integrity: sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.12.2': - resolution: {integrity: sha512-mME5MDwGe30Pq9zKPvyduyU86PH7aixwqYR2grTglAdB+AN8xXQ1vFGpYaUSJ5o5P/5znsSBeNcs5g5/2aQwow==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/typescript-estree@8.13.0': resolution: {integrity: sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1005,22 +955,12 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.12.2': - resolution: {integrity: sha512-UTTuDIX3fkfAz6iSVa5rTuSfWIYZ6ATtEocQ/umkRSyC9O919lbZ8dcH7mysshrCdrAM03skJOEYaBugxN+M6A==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/utils@8.13.0': resolution: {integrity: sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@8.12.2': - resolution: {integrity: sha512-PChz8UaKQAVNHghsHcPyx1OMHoFRUEA7rJSK/mDhdq85bk+PLsUHUBqTQTFt18VJZbmxBovM65fezlheQRsSDA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/visitor-keys@8.13.0': resolution: {integrity: sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1783,10 +1723,6 @@ packages: resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} engines: {node: '>=18'} - globals@15.11.0: - resolution: {integrity: sha512-yeyNSjdbyVaWurlwCpcA6XNBrHTMIeDdj0/hnvX/OLJ9ekOXYbLsLinH/MucQyGvNnXhidTdNhTtJaffL2sMfw==} - engines: {node: '>=18'} - globals@15.12.0: resolution: {integrity: sha512-1+gLErljJFhbOVyaetcwJiJ4+eLe45S2E7P5UiZ9xGfeq3ATQf5DOv9G7MH3gGbKQLkzmNh2DxfZwLdw+j6oTQ==} engines: {node: '>=18'} @@ -3029,15 +2965,6 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} - typescript-eslint@8.12.2: - resolution: {integrity: sha512-UbuVUWSrHVR03q9CWx+JDHeO6B/Hr9p4U5lRH++5tq/EbFq1faYZe50ZSBePptgfIKLEti0aPQ3hFgnPVcd8ZQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - typescript-eslint@8.13.0: resolution: {integrity: sha512-vIMpDRJrQd70au2G8w34mPps0ezFSPMEX4pXkTzUkrNbRX+36ais2ksGWN0esZL+ZMaFJEneOBHzCgSqle7DHw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3417,11 +3344,11 @@ snapshots: dependencies: '@commitlint/config-conventional': 19.5.0 - '@commencis/eslint-config@1.4.0(@types/eslint@9.6.1)(eslint@9.14.0(jiti@1.21.6))(prettier@3.3.3)(typescript@5.6.3)': + '@commencis/eslint-config@1.4.3(@types/eslint@9.6.1)(eslint@9.14.0(jiti@1.21.6))(prettier@3.3.3)(typescript@5.6.3)': dependencies: '@eslint/js': 9.14.0 - '@next/eslint-plugin-next': 15.0.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@next/eslint-plugin-next': 15.0.3 + '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.14.0(jiti@1.21.6) eslint-config-prettier: 9.1.0(eslint@9.14.0(jiti@1.21.6)) eslint-plugin-jsx-a11y: 6.10.2(eslint@9.14.0(jiti@1.21.6)) @@ -3430,8 +3357,8 @@ snapshots: eslint-plugin-react-hooks: 5.0.0(eslint@9.14.0(jiti@1.21.6)) eslint-plugin-simple-import-sort: 12.1.1(eslint@9.14.0(jiti@1.21.6)) eslint-plugin-vue: 9.30.0(eslint@9.14.0(jiti@1.21.6)) - globals: 15.11.0 - typescript-eslint: 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + globals: 15.12.0 + typescript-eslint: 8.13.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) transitivePeerDependencies: - '@types/eslint' - prettier @@ -3804,10 +3731,6 @@ snapshots: globby: 11.1.0 read-yaml-file: 1.1.0 - '@next/eslint-plugin-next@15.0.2': - dependencies: - fast-glob: 3.3.1 - '@next/eslint-plugin-next@15.0.3': dependencies: fast-glob: 3.3.1 @@ -3929,24 +3852,6 @@ snapshots: dependencies: undici-types: 6.19.8 - '@typescript-eslint/eslint-plugin@8.12.2(@typescript-eslint/parser@8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': - dependencies: - '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/type-utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/visitor-keys': 8.12.2 - eslint: 9.14.0(jiti@1.21.6) - graphemer: 1.4.0 - ignore: 5.3.2 - natural-compare: 1.4.0 - ts-api-utils: 1.4.0(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/eslint-plugin@8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.12.1 @@ -3965,19 +3870,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': - dependencies: - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/typescript-estree': 8.12.2(typescript@5.6.3) - '@typescript-eslint/visitor-keys': 8.12.2 - debug: 4.3.7 - eslint: 9.14.0(jiti@1.21.6) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@typescript-eslint/scope-manager': 8.13.0 @@ -3991,28 +3883,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.12.2': - dependencies: - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/visitor-keys': 8.12.2 - '@typescript-eslint/scope-manager@8.13.0': dependencies: '@typescript-eslint/types': 8.13.0 '@typescript-eslint/visitor-keys': 8.13.0 - '@typescript-eslint/type-utils@8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': - dependencies: - '@typescript-eslint/typescript-estree': 8.12.2(typescript@5.6.3) - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - debug: 4.3.7 - ts-api-utils: 1.4.0(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - eslint - - supports-color - '@typescript-eslint/type-utils@8.13.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.6.3) @@ -4025,25 +3900,8 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.12.2': {} - '@typescript-eslint/types@8.13.0': {} - '@typescript-eslint/typescript-estree@8.12.2(typescript@5.6.3)': - dependencies: - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/visitor-keys': 8.12.2 - debug: 4.3.7 - fast-glob: 3.3.2 - is-glob: 4.0.3 - minimatch: 9.0.5 - semver: 7.6.3 - ts-api-utils: 1.4.0(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@8.13.0(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 8.13.0 @@ -4059,17 +3917,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': - dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@9.14.0(jiti@1.21.6)) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/typescript-estree': 8.12.2(typescript@5.6.3) - eslint: 9.14.0(jiti@1.21.6) - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/utils@8.13.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@9.14.0(jiti@1.21.6)) @@ -4081,11 +3928,6 @@ snapshots: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.12.2': - dependencies: - '@typescript-eslint/types': 8.12.2 - eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.13.0': dependencies: '@typescript-eslint/types': 8.13.0 @@ -5040,8 +4882,6 @@ snapshots: globals@14.0.0: {} - globals@15.11.0: {} - globals@15.12.0: {} globalthis@1.0.4: @@ -6263,17 +6103,6 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript-eslint@8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3): - dependencies: - '@typescript-eslint/eslint-plugin': 8.12.2(@typescript-eslint/parser@8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/parser': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - eslint - - supports-color - typescript-eslint@8.13.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3): dependencies: '@typescript-eslint/eslint-plugin': 8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) From 271f47886190f9650ebef3203e714abc3073152c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmetcan=20Y=C4=B1lmaz?= Date: Sat, 9 Nov 2024 18:37:04 +0300 Subject: [PATCH 2/2] chore: comply new eslint rules --- .changeset/two-falcons-kneel.md | 6 ++++++ packages/eslint-config/src/configs/next.ts | 4 ++-- packages/eslint-config/src/configs/react-native.ts | 4 ++-- packages/eslint-config/src/configs/react.ts | 4 ++-- packages/eslint-config/src/configs/vue.ts | 4 ++-- packages/eslint-plugin/src/index.ts | 1 - 6 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .changeset/two-falcons-kneel.md diff --git a/.changeset/two-falcons-kneel.md b/.changeset/two-falcons-kneel.md new file mode 100644 index 0000000..e60b58e --- /dev/null +++ b/.changeset/two-falcons-kneel.md @@ -0,0 +1,6 @@ +--- +'@commencis/eslint-config': patch +'@commencis/eslint-plugin': patch +--- + +comply new rules & formatting diff --git a/packages/eslint-config/src/configs/next.ts b/packages/eslint-config/src/configs/next.ts index eaf173a..45771f2 100644 --- a/packages/eslint-config/src/configs/next.ts +++ b/packages/eslint-config/src/configs/next.ts @@ -1,8 +1,8 @@ +import { type FlatConfigArray } from '@/types'; + import baseConfig from '@/configs/base'; import prettierConfig from '@/configs/prettier'; import typescriptConfig from '@/configs/typescript'; -import { type FlatConfigArray } from '@/types'; - import { jsxA11yPluginConfig, nextPluginConfig, diff --git a/packages/eslint-config/src/configs/react-native.ts b/packages/eslint-config/src/configs/react-native.ts index 1b925c3..8bfb90d 100644 --- a/packages/eslint-config/src/configs/react-native.ts +++ b/packages/eslint-config/src/configs/react-native.ts @@ -1,8 +1,8 @@ +import { type FlatConfigArray } from '@/types'; + import baseConfig from '@/configs/base'; import prettierConfig from '@/configs/prettier'; import typescriptConfig from '@/configs/typescript'; -import { type FlatConfigArray } from '@/types'; - import { jsxA11yPluginConfig, reactHooksPluginConfig, diff --git a/packages/eslint-config/src/configs/react.ts b/packages/eslint-config/src/configs/react.ts index 09d324b..9a96c3c 100644 --- a/packages/eslint-config/src/configs/react.ts +++ b/packages/eslint-config/src/configs/react.ts @@ -1,8 +1,8 @@ +import { type FlatConfigArray } from '@/types'; + import baseConfig from '@/configs/base'; import prettierConfig from '@/configs/prettier'; import typescriptConfig from '@/configs/typescript'; -import { type FlatConfigArray } from '@/types'; - import { jsxA11yPluginConfig, reactHooksPluginConfig, diff --git a/packages/eslint-config/src/configs/vue.ts b/packages/eslint-config/src/configs/vue.ts index ce22ae4..6855365 100644 --- a/packages/eslint-config/src/configs/vue.ts +++ b/packages/eslint-config/src/configs/vue.ts @@ -1,10 +1,10 @@ import tseslint from 'typescript-eslint'; +import { type FlatConfigArray } from '@/types'; + import baseConfig from '@/configs/base'; import prettierConfig from '@/configs/prettier'; import typescriptConfig from '@/configs/typescript'; -import { type FlatConfigArray } from '@/types'; - import { vuePluginConfig } from '@/plugins'; export default [ diff --git a/packages/eslint-plugin/src/index.ts b/packages/eslint-plugin/src/index.ts index f84f4b6..9793293 100644 --- a/packages/eslint-plugin/src/index.ts +++ b/packages/eslint-plugin/src/index.ts @@ -1,7 +1,6 @@ import type { Linter } from '@typescript-eslint/utils/ts-eslint'; import { all, recommended } from '@/configs'; - import rules from '@/rules'; import packageJson from '../package.json';