Skip to content

Commit

Permalink
docs: ...
Browse files Browse the repository at this point in the history
  • Loading branch information
fz6m committed Jan 21, 2024
1 parent 0b9b5a6 commit 01db983
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docs/docs/guides/lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ $ pnpm add @umijs/lint -D
```

然后安装 ESLint 及 Stylelint:
> 目前@umijs/lint使用的stylelint版本是v14。
但是stylelint升级至v16后不再与之前版本兼容,因此手动安装时不能直接安装最新版stylelint,需要安装v14的版本

> 目前 `@umijs/lint` 使用的 `stylelint` 版本是 v14
```bash
$ npm i eslint stylelint@14 -D
$ npm i -D eslint "stylelint@^14"
# or
$ pnpm add eslint stylelint@14 -D
$ pnpm add -D eslint "stylelint@^14"
```

### 启用配置
Expand Down

0 comments on commit 01db983

Please sign in to comment.