Skip to content

Commit

Permalink
docs: add stylelint version tip (#12084)
Browse files Browse the repository at this point in the history
* docs: add stylelint version tip

* docs: ...

---------

Co-authored-by: fz6m <[email protected]>
  • Loading branch information
60late and fz6m authored Jan 21, 2024
1 parent 8b31564 commit 2e4cd20
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/docs/docs/guides/lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ $ pnpm add @umijs/lint -D

然后安装 ESLint 及 Stylelint:

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

### 启用配置
Expand Down

1 comment on commit 2e4cd20

@vercel
Copy link

@vercel vercel bot commented on 2e4cd20 Jan 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.