Skip to content

Commit 8201254

Browse files
committed
chore: Use ts config file for eslint
1 parent 1c11846 commit 8201254

File tree

3 files changed

+1228
-1177
lines changed

3 files changed

+1228
-1177
lines changed

eslint.config.js renamed to eslint.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import antfu from '@antfu/eslint-config'
22

3-
// We temporarily disable `eslint.config.ts` which given by `eslint-ts-patch`
4-
// Related: https://github.com/antfu/eslint-ts-patch/issues/5
53
export default antfu({
64
// enable UnoCSS support
75
// https://unocss.dev/integrations/vscode

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue3-vant-mobile",
33
"type": "module",
44
"version": "2.2.2",
5-
"packageManager": "pnpm@8.13.1",
5+
"packageManager": "pnpm@8.15.4",
66
"description": "Vue + Vite H5 Starter Template",
77
"license": "MIT",
88
"scripts": {
@@ -51,8 +51,8 @@
5151
"consola": "^3.2.3",
5252
"cross-env": "^7.0.3",
5353
"cz-emoji-chinese": "^0.3.1",
54-
"eslint": "npm:eslint-ts-patch@^8.56.0-0",
55-
"eslint-ts-patch": "^8.56.0-0",
54+
"eslint": "npm:eslint-ts-patch@^8.57.0-0",
55+
"eslint-ts-patch": "^8.57.0-0",
5656
"husky": "^9.0.10",
5757
"less": "^4.2.0",
5858
"mockjs": "^1.1.0",
@@ -74,9 +74,6 @@
7474
"vue-tsc": "^1.8.27"
7575
},
7676
"pnpm": {
77-
"overrides": {
78-
"eslint": "8.56.0"
79-
},
8077
"peerDependencyRules": {
8178
"ignoreMissing": [
8279
"postcss",

0 commit comments

Comments
 (0)