chore: Use ts config file for eslint

This commit is contained in:
CharleeWa 2024-03-04 09:17:17 +08:00
parent 1c11846cac
commit 8201254b5d
3 changed files with 1228 additions and 1177 deletions

View File

@ -1,7 +1,5 @@
import antfu from '@antfu/eslint-config'
// We temporarily disable `eslint.config.ts` which given by `eslint-ts-patch`
// Related: https://github.com/antfu/eslint-ts-patch/issues/5
export default antfu({
// enable UnoCSS support
// https://unocss.dev/integrations/vscode

View File

@ -2,7 +2,7 @@
"name": "vue3-vant-mobile",
"type": "module",
"version": "2.2.2",
"packageManager": "pnpm@8.13.1",
"packageManager": "pnpm@8.15.4",
"description": "Vue + Vite H5 Starter Template",
"license": "MIT",
"scripts": {
@ -51,8 +51,8 @@
"consola": "^3.2.3",
"cross-env": "^7.0.3",
"cz-emoji-chinese": "^0.3.1",
"eslint": "npm:eslint-ts-patch@^8.56.0-0",
"eslint-ts-patch": "^8.56.0-0",
"eslint": "npm:eslint-ts-patch@^8.57.0-0",
"eslint-ts-patch": "^8.57.0-0",
"husky": "^9.0.10",
"less": "^4.2.0",
"mockjs": "^1.1.0",
@ -74,9 +74,6 @@
"vue-tsc": "^1.8.27"
},
"pnpm": {
"overrides": {
"eslint": "8.56.0"
},
"peerDependencyRules": {
"ignoreMissing": [
"postcss",

File diff suppressed because it is too large Load Diff