Skip to content

Commit a5d007b

Browse files
committed
chore: 1.2.2
1 parent 495cc89 commit a5d007b

File tree

3 files changed

+781
-573
lines changed

3 files changed

+781
-573
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,30 @@
22

33
🔧 一个 Vue 的 ESLint 配置,使用 Prettier 格式化代码。
44

5-
> 如果只需要对 TypeScript 的代码进行格式化,可以使用 [@longwoo/eslint-config-typescript-prettier](https://github.com/long-woo/eslint-config-typescript-prettier)
5+
> 如果只需要对 TypeScript 的代码进行格式化,可以使用 [@loongwoo/eslint-config-typescript-prettier](https://github.com/long-woo/eslint-config-typescript-prettier)
66
77
## 使用
88

99
1.安装依赖
1010

1111
```sh
12-
pnpm add -D @longwoo/eslint-config-vue
12+
pnpm add -D @loongwoo/eslint-config-vue
1313

1414
# or
15-
yarn add -D @longwoo/eslint-config-vue
15+
bun add -D @loongwoo/eslint-config-vue
1616

1717
# or
18-
npm install --save-dev @longwoo/eslint-config-vue
18+
yarn add -D @loongwoo/eslint-config-vue
19+
20+
# or
21+
npm install --save-dev @loongwoo/eslint-config-vue
1922
```
2023

2124
2.配置 ESLint
2225

2326
```json
2427
{
25-
"extends": "@longwoo/vue"
28+
"extends": "@loongwoo/vue"
2629
}
2730
```
2831

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
"dependencies": {
2121
"@vue/eslint-config-prettier": "^9.0.0",
2222
"@vue/eslint-config-typescript": "^13.0.0",
23-
"eslint-plugin-vue": "^9.25.0"
23+
"eslint-plugin-vue": "^9.27.0"
2424
},
2525
"devDependencies": {
26-
"eslint": "^9.0.0",
27-
"prettier": "^3.2.5",
28-
"typescript": "^5.4.5"
26+
"eslint": "^9.6.0",
27+
"prettier": "^3.3.2",
28+
"typescript": "^5.5.3"
2929
},
3030
"peerDependencies": {
31-
"eslint": "^9.0.0",
32-
"prettier": "^3.2.5",
33-
"typescript": "^5.4.5"
31+
"eslint": "^9.6.0",
32+
"prettier": "^3.3.1",
33+
"typescript": "^5.5.3"
3434
}
3535
}

0 commit comments

Comments
 (0)