Skip to content

Commit f53500e

Browse files
committed
feat: 修改README.md
1 parent e9f0415 commit f53500e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77
1.安装依赖
88

99
```sh
10-
pnpm add -D eslint @longwoo/eslint-config-typescript-prettier
10+
pnpm add -D eslint @longwoo/eslint-config-vue
1111

1212
# or
13-
yarn add -D eslint @longwoo/eslint-config-typescript-prettier
13+
yarn add -D eslint @longwoo/eslint-config-vue
1414

1515
# or
16-
npm install --save-dev @longwoo/eslint-config-typescript-prettier
16+
npm install --save-dev @longwoo/eslint-config-vue
1717
```
1818

1919
2.配置 ESLint
2020

2121
```json
2222
{
23-
"extends": "@longwoo/eslint-config-typescript-prettier"
23+
"extends": "@longwoo/eslint-config-vue"
2424
}
2525
```
2626

@@ -29,7 +29,7 @@ npm install --save-dev @longwoo/eslint-config-typescript-prettier
2929
```json
3030
{
3131
"scripts": {
32-
"eslint": "eslint --ext .js,.ts,.tsx src"
32+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
3333
}
3434
}
3535
```

0 commit comments

Comments
 (0)