chore: update dependencies#975
Conversation
✅ Deploy Preview for cn-vitest ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 471da5f722
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| export default antfu( | ||
| { | ||
| formatters: { markdown: true }, |
There was a problem hiding this comment.
Add the formatter plugin dependency
Enabling formatters.markdown makes @antfu/eslint-config load eslint-plugin-format, but this commit does not add that package to devDependencies or the lockfile (it only appears as an optional peer of @antfu/eslint-config). In CI/non-TTY runs the config will not auto-install missing formatter packages, so pnpm lint and the pre-commit hook fail while loading eslint.config.js before any Markdown formatting can run.
Useful? React with 👍 / 👎.
在提交PR之前,请确保你执行以下操作:
fixes #123)。描述
eslint-plugin-format以便能让 eslint 使用附加上下文
为什么会在 eslint.config.js 开启 markdown 配置,详见 antfu/eslint-config#844