chore: update eslint config

This commit is contained in:
Anthony Fu 2022-06-25 01:04:50 +08:00
parent 0c02666a53
commit 3be931a39f
3 changed files with 30 additions and 32 deletions

View File

@ -1,2 +0,0 @@
dist
public

View File

@ -24,7 +24,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",
"@intlify/vite-plugin-vue-i18n": "^4.0.0",
"@types/markdown-it-link-attributes": "^3.0.1",
@ -46,10 +46,10 @@
"unplugin-vue-components": "^0.20.0",
"vite": "^2.9.12",
"vite-plugin-inspect": "^0.5.0",
"vite-plugin-vue-markdown": "^0.1.0",
"vite-plugin-pages": "^0.24.2",
"vite-plugin-pwa": "^0.12.0",
"vite-plugin-vue-layouts": "^0.6.0",
"vite-plugin-vue-markdown": "^0.1.0",
"vite-ssg": "^0.20.1",
"vite-ssg-sitemap": "^0.2.7",
"vitest": "^0.16.0",

View File

@ -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
'@intlify/vite-plugin-vue-i18n': ^4.0.0
'@types/markdown-it-link-attributes': ^3.0.1
@ -53,7 +53,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
'@intlify/vite-plugin-vue-i18n': 4.0.0_jg524lrp6mwbliyl7dcdb54k4a
'@types/markdown-it-link-attributes': 3.0.1
@ -93,13 +93,13 @@ packages:
'@jridgewell/trace-mapping': 0.3.4
dev: true
/@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
@ -119,12 +119,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:
@ -134,13 +134,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
@ -151,12 +151,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:
@ -166,13 +166,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
@ -3624,7 +3624,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
@ -3655,8 +3655,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:
@ -3721,11 +3721,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
@ -3768,9 +3768,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
@ -5523,7 +5523,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
@ -6222,7 +6222,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
@ -6631,7 +6631,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