From ba32289b661452bf3a1029214de3bc1cbd63cec1 Mon Sep 17 00:00:00 2001 From: KaKa Date: Thu, 18 Apr 2024 17:17:51 +0800 Subject: [PATCH] chore: move `eslint-config-standard-with-typescript` to `eslint-config-love` --- packages/crypto/.eslintrc | 2 +- packages/crypto/package.json | 2 +- packages/eventemitter/.eslintrc | 2 +- packages/eventemitter/package.json | 2 +- packages/unit/.eslintrc | 2 +- packages/unit/package.json | 2 +- packages/utils/.eslintrc | 2 +- packages/utils/package.json | 2 +- packages/validator/.eslintrc | 2 +- packages/validator/package.json | 2 +- packages/worker-pool/.eslintrc | 2 +- packages/worker-pool/package.json | 2 +- pnpm-lock.yaml | 131 +++++------------------------ 13 files changed, 34 insertions(+), 121 deletions(-) diff --git a/packages/crypto/.eslintrc b/packages/crypto/.eslintrc index ea67ea7d..b9037f30 100644 --- a/packages/crypto/.eslintrc +++ b/packages/crypto/.eslintrc @@ -1,5 +1,5 @@ { - "extends": "standard-with-typescript", + "extends": "love", "parserOptions": { "project": "./tsconfig.json" }, diff --git a/packages/crypto/package.json b/packages/crypto/package.json index e5cd7b99..e55dc90c 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -44,7 +44,7 @@ "c8": "^9.1.0", "cross-env": "^7.0.3", "eslint": "^8.57.0", - "eslint-config-standard-with-typescript": "^43.0.1", + "eslint-config-love": "^47.0.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^17.2.1", "eslint-plugin-promise": "^6.1.1", diff --git a/packages/eventemitter/.eslintrc b/packages/eventemitter/.eslintrc index ea67ea7d..b9037f30 100644 --- a/packages/eventemitter/.eslintrc +++ b/packages/eventemitter/.eslintrc @@ -1,5 +1,5 @@ { - "extends": "standard-with-typescript", + "extends": "love", "parserOptions": { "project": "./tsconfig.json" }, diff --git a/packages/eventemitter/package.json b/packages/eventemitter/package.json index c7c6462c..0de76022 100644 --- a/packages/eventemitter/package.json +++ b/packages/eventemitter/package.json @@ -44,7 +44,7 @@ "c8": "^9.1.0", "cross-env": "^7.0.3", "eslint": "^8.57.0", - "eslint-config-standard-with-typescript": "^43.0.1", + "eslint-config-love": "^47.0.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^17.2.1", "eslint-plugin-promise": "^6.1.1", diff --git a/packages/unit/.eslintrc b/packages/unit/.eslintrc index b565292b..371146a7 100644 --- a/packages/unit/.eslintrc +++ b/packages/unit/.eslintrc @@ -1,5 +1,5 @@ { - "extends": "standard-with-typescript", + "extends": "love", "parserOptions": { "project": "./tsconfig.json" }, diff --git a/packages/unit/package.json b/packages/unit/package.json index f4b93e54..675c7aa1 100644 --- a/packages/unit/package.json +++ b/packages/unit/package.json @@ -45,7 +45,7 @@ "c8": "^9.1.0", "cross-env": "^7.0.3", "eslint": "^8.57.0", - "eslint-config-standard-with-typescript": "^43.0.1", + "eslint-config-love": "^47.0.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^17.2.1", "eslint-plugin-promise": "^6.1.1", diff --git a/packages/utils/.eslintrc b/packages/utils/.eslintrc index ea67ea7d..b9037f30 100644 --- a/packages/utils/.eslintrc +++ b/packages/utils/.eslintrc @@ -1,5 +1,5 @@ { - "extends": "standard-with-typescript", + "extends": "love", "parserOptions": { "project": "./tsconfig.json" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 8efa6f9e..b3726eae 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -44,7 +44,7 @@ "c8": "^9.1.0", "cross-env": "^7.0.3", "eslint": "^8.57.0", - "eslint-config-standard-with-typescript": "^43.0.1", + "eslint-config-love": "^47.0.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^17.2.1", "eslint-plugin-promise": "^6.1.1", diff --git a/packages/validator/.eslintrc b/packages/validator/.eslintrc index ea67ea7d..b9037f30 100644 --- a/packages/validator/.eslintrc +++ b/packages/validator/.eslintrc @@ -1,5 +1,5 @@ { - "extends": "standard-with-typescript", + "extends": "love", "parserOptions": { "project": "./tsconfig.json" }, diff --git a/packages/validator/package.json b/packages/validator/package.json index 81e7f6cd..7f9c5abe 100644 --- a/packages/validator/package.json +++ b/packages/validator/package.json @@ -44,7 +44,7 @@ "c8": "^9.1.0", "cross-env": "^7.0.3", "eslint": "^8.57.0", - "eslint-config-standard-with-typescript": "^43.0.1", + "eslint-config-love": "^47.0.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^17.2.1", "eslint-plugin-promise": "^6.1.1", diff --git a/packages/worker-pool/.eslintrc b/packages/worker-pool/.eslintrc index ea67ea7d..b9037f30 100644 --- a/packages/worker-pool/.eslintrc +++ b/packages/worker-pool/.eslintrc @@ -1,5 +1,5 @@ { - "extends": "standard-with-typescript", + "extends": "love", "parserOptions": { "project": "./tsconfig.json" }, diff --git a/packages/worker-pool/package.json b/packages/worker-pool/package.json index 3e2330a4..2b1f36bb 100644 --- a/packages/worker-pool/package.json +++ b/packages/worker-pool/package.json @@ -38,7 +38,7 @@ "c8": "^9.1.0", "cross-env": "^7.0.3", "eslint": "^8.57.0", - "eslint-config-standard-with-typescript": "^43.0.1", + "eslint-config-love": "^47.0.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^17.2.1", "eslint-plugin-promise": "^6.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3bbd877c..bac80ed6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,9 +31,9 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - eslint-config-standard-with-typescript: - specifier: ^43.0.1 - version: 43.0.1(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) + eslint-config-love: + specifier: ^47.0.0 + version: 47.0.0(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) eslint-plugin-import: specifier: ^2.29.1 version: 2.29.1(@typescript-eslint/parser@7.7.0)(eslint@8.57.0) @@ -79,9 +79,9 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - eslint-config-standard-with-typescript: - specifier: ^43.0.1 - version: 43.0.1(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) + eslint-config-love: + specifier: ^47.0.0 + version: 47.0.0(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) eslint-plugin-import: specifier: ^2.29.1 version: 2.29.1(@typescript-eslint/parser@7.7.0)(eslint@8.57.0) @@ -131,9 +131,9 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - eslint-config-standard-with-typescript: - specifier: ^43.0.1 - version: 43.0.1(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) + eslint-config-love: + specifier: ^47.0.0 + version: 47.0.0(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) eslint-plugin-import: specifier: ^2.29.1 version: 2.29.1(@typescript-eslint/parser@7.7.0)(eslint@8.57.0) @@ -183,9 +183,9 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - eslint-config-standard-with-typescript: - specifier: ^43.0.1 - version: 43.0.1(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) + eslint-config-love: + specifier: ^47.0.0 + version: 47.0.0(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) eslint-plugin-import: specifier: ^2.29.1 version: 2.29.1(@typescript-eslint/parser@7.7.0)(eslint@8.57.0) @@ -231,9 +231,9 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - eslint-config-standard-with-typescript: - specifier: ^43.0.1 - version: 43.0.1(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) + eslint-config-love: + specifier: ^47.0.0 + version: 47.0.0(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) eslint-plugin-import: specifier: ^2.29.1 version: 2.29.1(@typescript-eslint/parser@7.7.0)(eslint@8.57.0) @@ -279,9 +279,9 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 - eslint-config-standard-with-typescript: - specifier: ^43.0.1 - version: 43.0.1(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) + eslint-config-love: + specifier: ^47.0.0 + version: 47.0.0(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5) eslint-plugin-import: specifier: ^2.29.1 version: 2.29.1(@typescript-eslint/parser@7.7.0)(eslint@8.57.0) @@ -512,27 +512,6 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 6.21.0 - debug: 4.3.4 - eslint: 8.57.0 - typescript: 5.4.5 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/parser@7.7.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-fNcDm3wSwVM8QYL4HKVBggdIPAy9Q41vcvC/GtDobw3c4ndVT3K6cqudUmjHPw8EAp4ufax0o58/xvWaP2FmTg==} engines: {node: ^18.18.0 || >=20.0.0} @@ -554,14 +533,6 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@6.21.0: - resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/visitor-keys': 6.21.0 - dev: true - /@typescript-eslint/scope-manager@7.7.0: resolution: {integrity: sha512-/8INDn0YLInbe9Wt7dK4cXLDYp0fNHP5xKLHvZl3mOT5X17rK/YShXaiNmorl+/U4VKCVIjJnx4Ri5b0y+HClw==} engines: {node: ^18.18.0 || >=20.0.0} @@ -590,38 +561,11 @@ packages: - supports-color dev: true - /@typescript-eslint/types@6.21.0: - resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==} - engines: {node: ^16.0.0 || >=18.0.0} - dev: true - /@typescript-eslint/types@7.7.0: resolution: {integrity: sha512-G01YPZ1Bd2hn+KPpIbrAhEWOn5lQBrjxkzHkWvP6NucMXFtfXoevK82hzQdpfuQYuhkvFDeQYbzXCjR1z9Z03w==} engines: {node: ^18.18.0 || >=20.0.0} dev: true - /@typescript-eslint/typescript-estree@6.21.0(typescript@5.4.5): - resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/visitor-keys': 6.21.0 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - minimatch: 9.0.3 - semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/typescript-estree@7.7.0(typescript@5.4.5): resolution: {integrity: sha512-8p71HQPE6CbxIBy2kWHqM1KGrC07pk6RJn40n0DSc6bMOBBREZxSDJ+BmRzc8B5OdaMh1ty3mkuWRg4sCFiDQQ==} engines: {node: ^18.18.0 || >=20.0.0} @@ -663,14 +607,6 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@6.21.0: - resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.21.0 - eslint-visitor-keys: 3.4.3 - dev: true - /@typescript-eslint/visitor-keys@7.7.0: resolution: {integrity: sha512-h0WHOj8MhdhY8YWkzIF30R379y0NqyOHExI9N9KCzvmu05EgG4FumeYa3ccfKUSphyWkWQE1ybVrgz/Pbam6YA==} engines: {node: ^18.18.0 || >=20.0.0} @@ -1284,10 +1220,10 @@ packages: semver: 7.6.0 dev: true - /eslint-config-standard-with-typescript@43.0.1(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-WfZ986+qzIzX6dcr4yGUyVb/l9N3Z8wPXCc5z/70fljs3UbWhhV+WxrfgsqMToRzuuyX9MqZ974pq2UPhDTOcA==} + /eslint-config-love@47.0.0(@typescript-eslint/eslint-plugin@7.7.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-wIeJhb4/NF7nE5Ltppg1e9dp1Auxx0+ZPRysrXQ3uBKlW4Nj/UiTZu4r3sKWCxo6HGcRcI4MC1Q5421y3fny2w==} peerDependencies: - '@typescript-eslint/eslint-plugin': ^6.4.0 + '@typescript-eslint/eslint-plugin': ^7.0.1 eslint: ^8.0.1 eslint-plugin-import: ^2.25.2 eslint-plugin-n: '^15.0.0 || ^16.0.0 ' @@ -1295,9 +1231,8 @@ packages: typescript: '*' dependencies: '@typescript-eslint/eslint-plugin': 7.7.0(@typescript-eslint/parser@7.7.0)(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.7.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 - eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.7.0)(eslint@8.57.0) eslint-plugin-n: 17.2.1(eslint@8.57.0) eslint-plugin-promise: 6.1.1(eslint@8.57.0) @@ -1306,21 +1241,6 @@ packages: - supports-color dev: true - /eslint-config-standard@17.1.0(eslint-plugin-import@2.29.1)(eslint-plugin-n@17.2.1)(eslint-plugin-promise@6.1.1)(eslint@8.57.0): - resolution: {integrity: sha512-IwHwmaBNtDK4zDHQukFDW5u/aTb8+meQWZvNFWkiGmbWjD6bqyuSSBxxXKkCftCUzc1zwCH2m/baCNDLGmuO5Q==} - engines: {node: '>=12.0.0'} - peerDependencies: - eslint: ^8.0.1 - eslint-plugin-import: ^2.25.2 - eslint-plugin-n: '^15.0.0 || ^16.0.0 ' - eslint-plugin-promise: ^6.0.0 - dependencies: - eslint: 8.57.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.7.0)(eslint@8.57.0) - eslint-plugin-n: 17.2.1(eslint@8.57.0) - eslint-plugin-promise: 6.1.1(eslint@8.57.0) - dev: true - /eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} dependencies: @@ -2166,13 +2086,6 @@ packages: brace-expansion: 1.1.11 dev: true - /minimatch@9.0.3: - resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} - engines: {node: '>=16 || 14 >=14.17'} - dependencies: - brace-expansion: 2.0.1 - dev: true - /minimatch@9.0.4: resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==} engines: {node: '>=16 || 14 >=14.17'}