chore: update config

pull/35/head
xingyu 2023-09-19 10:56:19 +08:00
parent 66a1da3dd2
commit 4726b7448f
4 changed files with 54 additions and 44 deletions

View File

@ -17,5 +17,10 @@ module.exports = {
'no-case-declarations': 'off',
'no-console': 'off',
'n/prefer-global/process': 'off',
'jsdoc/no-multi-asterisks': 'off',
'jsdoc/valid-types': 'off',
'jsdoc/check-param-names': 'off',
'jsdoc/require-returns-description': 'off',
'jsdoc/require-returns-check': 'off',
},
}

View File

@ -19,9 +19,11 @@
"**/.idea": true,
"**/.vscode": false,
"**/yarn.lock": true,
"pnpm-lock.yaml": true,
"**/tmp": true,
"out": true,
"dist": true,
"public": true,
"node_modules": true,
"CHANGELOG.md": true,
"examples": true,
@ -103,6 +105,7 @@
"[vue]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.organizeImports": false,
"source.fixAll.stylelint": true
}
},
@ -146,7 +149,9 @@
"unref",
"vben",
"vditor",
"videojs",
"vitejs",
"vuedraggable",
"vueuse",
"xingyuv",
"yudao",

View File

@ -38,7 +38,7 @@
"clean:lib": "rimraf node_modules",
"lint": "eslint \"src/**/*.{vue,ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{vue,ts,tsx}\" --fix",
"lint:stylelint": "stylelint \"**/*.{vue,css,less,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
"lint:stylelint": "stylelint \"src/**/*.{vue,css,less,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
"lint:lint-staged": "lint-staged",
"npm:check": "npx npm-check-updates",
"reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && pnpm bootstrap",
@ -82,7 +82,7 @@
"xlsx": "^0.18.5"
},
"devDependencies": {
"@antfu/eslint-config": "^0.42.0",
"@antfu/eslint-config": "^0.42.1",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@iconify/json": "^2.2.117",
@ -112,7 +112,7 @@
"less": "^4.2.0",
"lint-staged": "^14.0.1",
"picocolors": "^1.0.0",
"postcss": "^8.4.29",
"postcss": "^8.4.30",
"postcss-html": "^1.5.0",
"postcss-less": "^6.0.0",
"prettier": "^3.0.3",

View File

@ -110,8 +110,8 @@ dependencies:
devDependencies:
'@antfu/eslint-config':
specifier: ^0.42.0
version: 0.42.0(eslint@8.49.0)(typescript@5.2.2)
specifier: ^0.42.1
version: 0.42.1(eslint@8.49.0)(typescript@5.2.2)
'@commitlint/cli':
specifier: ^17.7.1
version: 17.7.1
@ -200,14 +200,14 @@ devDependencies:
specifier: ^1.0.0
version: 1.0.0
postcss:
specifier: ^8.4.29
version: 8.4.29
specifier: ^8.4.30
version: 8.4.30
postcss-html:
specifier: ^1.5.0
version: 1.5.0
postcss-less:
specifier: ^6.0.0
version: 6.0.0(postcss@8.4.29)
version: 6.0.0(postcss@8.4.30)
prettier:
specifier: ^3.0.3
version: 3.0.3
@ -249,7 +249,7 @@ devDependencies:
version: 5.2.2
unocss:
specifier: ^0.55.7
version: 0.55.7(postcss@8.4.29)(rollup@3.29.2)(vite@4.4.9)
version: 0.55.7(postcss@8.4.30)(rollup@3.29.2)(vite@4.4.9)
vite:
specifier: ^4.4.9
version: 4.4.9(@types/node@20.6.0)(less@4.2.0)(terser@5.19.4)
@ -322,13 +322,13 @@ packages:
vue: 3.3.4
dev: false
/@antfu/eslint-config-basic@0.42.0(@typescript-eslint/eslint-plugin@6.7.0)(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2):
resolution: {integrity: sha512-vPy2qYCc8G8nd7RuHV4z05RUhvFOwtulcBwzEYPQTbd4IqbqJ9UA8ISgp1qYcJvbz74eR3mUl8r4b0OzxngPkg==}
/@antfu/eslint-config-basic@0.42.1(@typescript-eslint/eslint-plugin@6.7.0)(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2):
resolution: {integrity: sha512-VYcWpDXAYytrYNH4LjNy42t0d/fq1dFOsnIs6DyqDKdvMAlXN7ScksFAgm/NBaTnBcaBrySCIG+cLQPk5wLTIg==}
peerDependencies:
eslint: '>=7.4.0'
dependencies:
eslint: 8.49.0
eslint-plugin-antfu: 0.42.0(eslint@8.49.0)(typescript@5.2.2)
eslint-plugin-antfu: 0.42.1(eslint@8.49.0)(typescript@5.2.2)
eslint-plugin-eslint-comments: 3.2.0(eslint@8.49.0)
eslint-plugin-html: 7.1.0
eslint-plugin-import: /eslint-plugin-i@2.28.1(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)
@ -352,13 +352,13 @@ packages:
- typescript
dev: true
/@antfu/eslint-config-ts@0.42.0(eslint@8.49.0)(typescript@5.2.2):
resolution: {integrity: sha512-XYnWaNYhGeSgXZLpgPUsn0qHaBCJoNJVPD712fwLEGTJ5a5QctT5v04TRERJmeqfk67EaVMlsuDveLx3fqVuyQ==}
/@antfu/eslint-config-ts@0.42.1(eslint@8.49.0)(typescript@5.2.2):
resolution: {integrity: sha512-gCz6sapcwZIsXu8LB9THR0r4hHKnNY7HZe4op0AwlK/lA5dO4sSLk68M9ig3CdaRkIW8LTC/sAKyQhX7md6++w==}
peerDependencies:
eslint: '>=7.4.0'
typescript: '>=3.9'
dependencies:
'@antfu/eslint-config-basic': 0.42.0(@typescript-eslint/eslint-plugin@6.7.0)(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2)
'@antfu/eslint-config-basic': 0.42.1(@typescript-eslint/eslint-plugin@6.7.0)(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2)
'@typescript-eslint/eslint-plugin': 6.7.0(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2)
'@typescript-eslint/parser': 6.7.0(eslint@8.49.0)(typescript@5.2.2)
eslint: 8.49.0
@ -371,13 +371,13 @@ packages:
- supports-color
dev: true
/@antfu/eslint-config-vue@0.42.0(@typescript-eslint/eslint-plugin@6.7.0)(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2):
resolution: {integrity: sha512-QiD16D5bk99EImRc/z0mnO4TeP0cMMPIOMO8RamJ1ChD/lIluEZFjBTRykTesRyc7+YsdJYit4M/t6hu8YeSww==}
/@antfu/eslint-config-vue@0.42.1(@typescript-eslint/eslint-plugin@6.7.0)(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2):
resolution: {integrity: sha512-9F+AyDHw9exEcg1RNhDoTyHgsanBkKE2kZ8Atadn2O8EMbrFE383tETxO+VTv1Dr71z9qaVA2SVQjesPzctQVg==}
peerDependencies:
eslint: '>=7.4.0'
dependencies:
'@antfu/eslint-config-basic': 0.42.0(@typescript-eslint/eslint-plugin@6.7.0)(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2)
'@antfu/eslint-config-ts': 0.42.0(eslint@8.49.0)(typescript@5.2.2)
'@antfu/eslint-config-basic': 0.42.1(@typescript-eslint/eslint-plugin@6.7.0)(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2)
'@antfu/eslint-config-ts': 0.42.1(eslint@8.49.0)(typescript@5.2.2)
eslint: 8.49.0
eslint-plugin-vue: 9.17.0(eslint@8.49.0)
local-pkg: 0.4.3
@ -391,12 +391,12 @@ packages:
- typescript
dev: true
/@antfu/eslint-config@0.42.0(eslint@8.49.0)(typescript@5.2.2):
resolution: {integrity: sha512-RdTn+ggGF/mctHjnzLvImx/+RV18HwVTvC/jeHSF4bKBTA3eTftq+FrxWuCpmrEQRIb+J/tn2gmNpzizUo1PLQ==}
/@antfu/eslint-config@0.42.1(eslint@8.49.0)(typescript@5.2.2):
resolution: {integrity: sha512-/U5PRCTPUI5khNMl4jBw1tLii7biJcrgD3yJEnxCQiTOjkfuVJeESSZieI5Qlu0zVXuudpq8R5VApCKjH4TpsA==}
peerDependencies:
eslint: '>=7.4.0'
dependencies:
'@antfu/eslint-config-vue': 0.42.0(@typescript-eslint/eslint-plugin@6.7.0)(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2)
'@antfu/eslint-config-vue': 0.42.1(@typescript-eslint/eslint-plugin@6.7.0)(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2)
'@typescript-eslint/eslint-plugin': 6.7.0(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2)
'@typescript-eslint/parser': 6.7.0(eslint@8.49.0)(typescript@5.2.2)
eslint: 8.49.0
@ -3018,7 +3018,7 @@ packages:
sirv: 2.0.3
dev: true
/@unocss/postcss@0.55.7(postcss@8.4.29):
/@unocss/postcss@0.55.7(postcss@8.4.30):
resolution: {integrity: sha512-53Z/yv/CNdlTqKZQ9gpYRoLZSuzQ28J0SDrGCdzwjLcvHG/FD7/x1S7yxE7cUp/4sjvLL15HSzkWq8vNy6SkwQ==}
engines: {node: '>=14'}
peerDependencies:
@ -3029,7 +3029,7 @@ packages:
css-tree: 2.3.1
fast-glob: 3.3.1
magic-string: 0.30.3
postcss: 8.4.29
postcss: 8.4.30
dev: true
/@unocss/preset-attributify@0.55.7:
@ -3287,7 +3287,7 @@ packages:
'@vue/shared': 3.3.4
estree-walker: 2.0.2
magic-string: 0.30.3
postcss: 8.4.29
postcss: 8.4.30
source-map-js: 1.0.2
/@vue/compiler-ssr@3.3.4:
@ -4950,8 +4950,8 @@ packages:
- supports-color
dev: true
/eslint-plugin-antfu@0.42.0(eslint@8.49.0)(typescript@5.2.2):
resolution: {integrity: sha512-Oztd2iw0SiwqCLyy9vygQycITIpH4VTtglUKbPvr6bMs5DfEZE8qpFihcHVyUjAVKJAjzMl+Pkz1hm+HVwT+2g==}
/eslint-plugin-antfu@0.42.1(eslint@8.49.0)(typescript@5.2.2):
resolution: {integrity: sha512-uW4Z/j3RSzwloR0Ym4f1rY/ZLrodSC7kd6XTLQccYdhNBgNswTzqPyfPtIeFV0XnlLp/B6AeXfOWcK4c5ZyFkg==}
dependencies:
'@typescript-eslint/utils': 6.7.0(eslint@8.49.0)(typescript@5.2.2)
transitivePeerDependencies:
@ -7608,17 +7608,17 @@ packages:
dependencies:
htmlparser2: 8.0.2
js-tokens: 8.0.2
postcss: 8.4.29
postcss-safe-parser: 6.0.0(postcss@8.4.29)
postcss: 8.4.30
postcss-safe-parser: 6.0.0(postcss@8.4.30)
dev: true
/postcss-less@6.0.0(postcss@8.4.29):
/postcss-less@6.0.0(postcss@8.4.30):
resolution: {integrity: sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==}
engines: {node: '>=12'}
peerDependencies:
postcss: ^8.3.5
dependencies:
postcss: 8.4.29
postcss: 8.4.30
dev: true
/postcss-prefix-selector@1.16.0(postcss@5.2.18):
@ -7633,13 +7633,13 @@ packages:
resolution: {integrity: sha512-HvExULSwLqHLgUy1rl3ANIqCsvMS0WHss2UOsXhXnQaZ9VCc2oBvIpXrl00IUFT5ZDITME0o6oiXeiHr2SAIfw==}
dev: true
/postcss-safe-parser@6.0.0(postcss@8.4.29):
/postcss-safe-parser@6.0.0(postcss@8.4.30):
resolution: {integrity: sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==}
engines: {node: '>=12.0'}
peerDependencies:
postcss: ^8.3.3
dependencies:
postcss: 8.4.29
postcss: 8.4.30
dev: true
/postcss-selector-parser@6.0.13:
@ -7650,12 +7650,12 @@ packages:
util-deprecate: 1.0.2
dev: true
/postcss-sorting@8.0.2(postcss@8.4.29):
/postcss-sorting@8.0.2(postcss@8.4.30):
resolution: {integrity: sha512-M9dkSrmU00t/jK7rF6BZSZauA5MAaBW4i5EnJXspMwt4iqTh/L9j6fgMnbElEOfyRyfLfVbIHj/R52zHzAPe1Q==}
peerDependencies:
postcss: ^8.4.20
dependencies:
postcss: 8.4.29
postcss: 8.4.30
dev: true
/postcss-value-parser@4.2.0:
@ -7672,8 +7672,8 @@ packages:
supports-color: 3.2.3
dev: true
/postcss@8.4.29:
resolution: {integrity: sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==}
/postcss@8.4.30:
resolution: {integrity: sha512-7ZEao1g4kd68l97aWG/etQKPKq07us0ieSZ2TnFDk11i0ZfDW2AwKHYU8qv4MZKqN2fdBfg+7q0ES06UA73C1g==}
engines: {node: ^10 || ^12 || >=14}
dependencies:
nanoid: 3.3.6
@ -8650,8 +8650,8 @@ packages:
peerDependencies:
stylelint: ^14.0.0 || ^15.0.0
dependencies:
postcss: 8.4.29
postcss-sorting: 8.0.2(postcss@8.4.29)
postcss: 8.4.30
postcss-sorting: 8.0.2(postcss@8.4.30)
stylelint: 15.10.3(typescript@5.2.2)
dev: true
@ -8699,9 +8699,9 @@ packages:
micromatch: 4.0.5
normalize-path: 3.0.0
picocolors: 1.0.0
postcss: 8.4.29
postcss: 8.4.30
postcss-resolve-nested-selector: 0.1.1
postcss-safe-parser: 6.0.0(postcss@8.4.29)
postcss-safe-parser: 6.0.0(postcss@8.4.30)
postcss-selector-parser: 6.0.13
postcss-value-parser: 4.2.0
resolve-from: 5.0.0
@ -9187,7 +9187,7 @@ packages:
engines: {node: '>= 10.0.0'}
dev: true
/unocss@0.55.7(postcss@8.4.29)(rollup@3.29.2)(vite@4.4.9):
/unocss@0.55.7(postcss@8.4.30)(rollup@3.29.2)(vite@4.4.9):
resolution: {integrity: sha512-3W9P7vj2EhSk/4oPCHBS0VgrwSf5zZL6Az1/XARVOpBnRJtCM2szFInYxHkMgt9pkZTsW8SFCuk/g+QIJ6A8tg==}
engines: {node: '>=14'}
peerDependencies:
@ -9203,7 +9203,7 @@ packages:
'@unocss/cli': 0.55.7(rollup@3.29.2)
'@unocss/core': 0.55.7
'@unocss/extractor-arbitrary-variants': 0.55.7
'@unocss/postcss': 0.55.7(postcss@8.4.29)
'@unocss/postcss': 0.55.7(postcss@8.4.30)
'@unocss/preset-attributify': 0.55.7
'@unocss/preset-icons': 0.55.7
'@unocss/preset-mini': 0.55.7
@ -9483,7 +9483,7 @@ packages:
'@types/node': 20.6.0
esbuild: 0.18.20
less: 4.2.0
postcss: 8.4.29
postcss: 8.4.30
rollup: 3.29.2
terser: 5.19.4
optionalDependencies: