From 911bea04c2b4de90c720458834f4a4bbdd973ac1 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Sat, 25 Jun 2022 01:05:35 +0800 Subject: [PATCH] chore: update eslint config --- package.json | 2 +- pnpm-lock.yaml | 66 +++++++++++++++++++++++--------------------------- 2 files changed, 31 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index 926fda4..d38be77 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "vue-router": "^4.0.16" }, "devDependencies": { - "@antfu/eslint-config": "^0.25.1", + "@antfu/eslint-config": "^0.25.2", "@iconify-json/carbon": "^1.1.5", "@types/node": "^18.0.0", "@unocss/reset": "^0.39.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 831cae6..241321f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,7 +1,7 @@ lockfileVersion: 5.4 specifiers: - '@antfu/eslint-config': ^0.25.1 + '@antfu/eslint-config': ^0.25.2 '@iconify-json/carbon': ^1.1.5 '@types/node': ^18.0.0 '@unocss/reset': ^0.39.3 @@ -28,7 +28,7 @@ dependencies: vue-router: 4.0.16_vue@3.2.37 devDependencies: - '@antfu/eslint-config': 0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e + '@antfu/eslint-config': 0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e '@iconify-json/carbon': 1.1.5 '@types/node': 18.0.0 '@unocss/reset': 0.39.3 @@ -48,13 +48,13 @@ devDependencies: packages: - /@antfu/eslint-config-basic/0.25.1_t5sxc3bagki3l2mk6notn5hgtm: - resolution: {integrity: sha512-FiOC33yoqHJCElFjSPJ9rHIjGSvJSqbYE58PgRXtJE9E4MM00vwzbA9iKILLnj27o3r3V+1sngHWlIeGaQu/iA==} + /@antfu/eslint-config-basic/0.25.2_t5sxc3bagki3l2mk6notn5hgtm: + resolution: {integrity: sha512-D81jE90B7cujMmU2mKEaUcRsKRAfVX4PniEoaD0c3HiqprqghfBjuv3B6p1+tG9uJQAgLBVsK+G92Y+AAgFaOA==} peerDependencies: eslint: '>=7.4.0' dependencies: eslint: 8.18.0 - eslint-plugin-antfu: 0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e + eslint-plugin-antfu: 0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e eslint-plugin-eslint-comments: 3.2.0_eslint@8.18.0 eslint-plugin-html: 6.2.0 eslint-plugin-import: 2.26.0_upy6spliocstaxrp2iqt466vqq @@ -74,12 +74,12 @@ packages: - typescript dev: true - /@antfu/eslint-config-react/0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e: - resolution: {integrity: sha512-gLdRj4nmOk4W9ORzvkwf8kklCkSxY7ox7BKE97HYcGtaq5oAQjibYC+WPkLklj2+BQuOXcZdGbqJgx/+qHfRrw==} + /@antfu/eslint-config-react/0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e: + resolution: {integrity: sha512-jGol7/UTUa9z55p4Oy/K5yGgY179fj1kl0kdo3bRnFjzUZQuDGuxw5HiZdYx333pjBdizkPl6cMJ8M6sc3PzFg==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-ts': 0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e + '@antfu/eslint-config-ts': 0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e eslint: 8.18.0 eslint-plugin-react: 7.30.0_eslint@8.18.0 transitivePeerDependencies: @@ -89,13 +89,13 @@ packages: - typescript dev: true - /@antfu/eslint-config-ts/0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e: - resolution: {integrity: sha512-bKaSOah8Qb5ND0i14x3kcpfMA5euxy/9VYVwZQ2XJgY6hkjEY1wTyC0Jw6JQvTYglEycEc2SDrtEZ0+0SKA/jg==} + /@antfu/eslint-config-ts/0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e: + resolution: {integrity: sha512-Dpp4r3CaDZVh73lMxhW0sVGsPwUf1YTpYV5JefmBtgEZKOAc+QqYbLjFZ6QGRUpdPLldRvD+xTFpax6t8NKgyA==} peerDependencies: eslint: '>=7.4.0' typescript: '>=3.9' dependencies: - '@antfu/eslint-config-basic': 0.25.1_t5sxc3bagki3l2mk6notn5hgtm + '@antfu/eslint-config-basic': 0.25.2_t5sxc3bagki3l2mk6notn5hgtm '@typescript-eslint/eslint-plugin': 5.26.0_t5sxc3bagki3l2mk6notn5hgtm '@typescript-eslint/parser': 5.26.0_b5e7v2qnwxfo6hmiq56u52mz3e eslint: 8.18.0 @@ -106,12 +106,12 @@ packages: - supports-color dev: true - /@antfu/eslint-config-vue/0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e: - resolution: {integrity: sha512-Z9MCGYKZO50eU8YwgqBYWx+GVSOfDHxbIf6+BLxpDmrVGUuJQMqT5CIcihSRkQMeH/drQwPmQKbSSmVdjOLHrg==} + /@antfu/eslint-config-vue/0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e: + resolution: {integrity: sha512-ObZOzvQvLe/qETq5miVmFWRgjNwWAE/P1I2YhKyDFK7KHquM7bKysfnmkoPpm2HkOpseMILoc+5UKo/w3L7GHg==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-ts': 0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e + '@antfu/eslint-config-ts': 0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e eslint: 8.18.0 eslint-plugin-vue: 9.0.1_eslint@8.18.0 transitivePeerDependencies: @@ -121,13 +121,13 @@ packages: - typescript dev: true - /@antfu/eslint-config/0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e: - resolution: {integrity: sha512-CRg2LL6bh+lWWfG5TDJh3TUQTh+immu6IWkiVaJJn4jVD7jFQSewvIQUoPo7/YEPFpL2TTCCUjmT2YpmSbnedg==} + /@antfu/eslint-config/0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e: + resolution: {integrity: sha512-dIqxqBa6ALqaBQyErMnYLpyn4xpwp1YefbYxDMgNFM8MzY/ShJgaBWAGlywFeDwyAR44jaaVY8wRwDxODF8bPg==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-react': 0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e - '@antfu/eslint-config-vue': 0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e + '@antfu/eslint-config-react': 0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e + '@antfu/eslint-config-vue': 0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e '@typescript-eslint/eslint-plugin': 5.26.0_t5sxc3bagki3l2mk6notn5hgtm '@typescript-eslint/parser': 5.26.0_b5e7v2qnwxfo6hmiq56u52mz3e eslint: 8.18.0 @@ -1582,7 +1582,7 @@ packages: resolution: {integrity: sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==} dependencies: debug: 3.2.7 - resolve: 1.22.0 + resolve: 1.22.1 transitivePeerDependencies: - supports-color dev: true @@ -1613,8 +1613,8 @@ packages: - supports-color dev: true - /eslint-plugin-antfu/0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e: - resolution: {integrity: sha512-xZrk0BIHZFfrUkr2Ff1uZdnzTmCM6ZQccOxpn7/IKfUENe16sSMuZ8YHKaVrUSAMIPoUOFKG2Qpu2UxwIRTd9w==} + /eslint-plugin-antfu/0.25.2_b5e7v2qnwxfo6hmiq56u52mz3e: + resolution: {integrity: sha512-yRhuFMwUKhSYm8BWTZsW4ymYnFPCJWZb2LzjG+mQb7JbKflk73JIFMCREPOaV4nWwc4YJEPhym75QsC7AFbqSw==} dependencies: '@typescript-eslint/utils': 5.26.0_b5e7v2qnwxfo6hmiq56u52mz3e transitivePeerDependencies: @@ -1670,11 +1670,11 @@ packages: eslint-import-resolver-node: 0.3.6 eslint-module-utils: 2.7.3_zhgf6mw2wzy6dnrak3ta47vb3m has: 1.0.3 - is-core-module: 2.8.1 + is-core-module: 2.9.0 is-glob: 4.0.3 minimatch: 3.1.2 object.values: 1.1.5 - resolve: 1.22.0 + resolve: 1.22.1 tsconfig-paths: 3.14.1 transitivePeerDependencies: - eslint-import-resolver-typescript @@ -1717,9 +1717,9 @@ packages: eslint-plugin-es: 4.1.0_eslint@8.18.0 eslint-utils: 3.0.0_eslint@8.18.0 ignore: 5.2.0 - is-core-module: 2.8.1 + is-core-module: 2.9.0 minimatch: 3.1.2 - resolve: 1.22.0 + resolve: 1.22.1 semver: 6.3.0 dev: true @@ -2372,12 +2372,6 @@ packages: engines: {node: '>= 0.4'} dev: true - /is-core-module/2.8.1: - resolution: {integrity: sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==} - dependencies: - has: 1.0.3 - dev: true - /is-core-module/2.9.0: resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==} dependencies: @@ -2832,7 +2826,7 @@ packages: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: hosted-git-info: 2.8.9 - resolve: 1.22.0 + resolve: 1.22.1 semver: 5.7.1 validate-npm-package-license: 3.0.4 dev: true @@ -3239,7 +3233,7 @@ packages: resolution: {integrity: sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==} hasBin: true dependencies: - is-core-module: 2.8.1 + is-core-module: 2.9.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: true @@ -3256,7 +3250,7 @@ packages: /resolve/2.0.0-next.3: resolution: {integrity: sha512-W8LucSynKUIDu9ylraa7ueVZ7hc0uAgJBxVsQSKOXOyle8a93qXhcz+XAXZ8bIq2d6i4Ehddn6Evt+0/UwKk6Q==} dependencies: - is-core-module: 2.8.1 + is-core-module: 2.9.0 path-parse: 1.0.7 dev: true @@ -3433,7 +3427,7 @@ packages: dev: true /strip-bom/3.0.0: - resolution: {integrity: sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=} + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} dev: true @@ -3761,7 +3755,7 @@ packages: dev: true /util-deprecate/1.0.2: - resolution: {integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=} + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: true /v8-compile-cache/2.3.0: