Skip to content

chore: update dependencies#975

Closed
NoiseFan wants to merge 1 commit into
vitest-dev:devfrom
NoiseFan:chore/dependencies
Closed

chore: update dependencies#975
NoiseFan wants to merge 1 commit into
vitest-dev:devfrom
NoiseFan:chore/dependencies

Conversation

@NoiseFan
Copy link
Copy Markdown
Collaborator

@NoiseFan NoiseFan commented May 15, 2026

在提交PR之前,请确保你执行以下操作:

  • 曾阅读过翻译须知
  • 检查是否已经有PR以同样的方式解决问题,以避免创建重复。
  • 在此PR中描述正在解决的问题,或引用它解决的问题(例如:fixes #123)。

描述

  • 升级所有依赖
  • 处理 markdown 文件无法使用 eslint 格式化问题
  • 添加 eslint-plugin-format 以便能让 eslint 使用

附加上下文

为什么会在 eslint.config.js 开启 markdown 配置,详见 antfu/eslint-config#844

@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2026

Deploy Preview for cn-vitest ready!

Name Link
🔨 Latest commit 471da5f
🔍 Latest deploy log https://app.netlify.com/projects/cn-vitest/deploys/6a07073b6affb7000845833d
😎 Deploy Preview https://deploy-preview-975--cn-vitest.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 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".

Comment thread eslint.config.js

export default antfu(
{
formatters: { markdown: true },
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge 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 👍 / 👎.

@NoiseFan NoiseFan closed this May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant