From 92aca4f6e9bd84d1b2a25237da8ac831f64134b2 Mon Sep 17 00:00:00 2001 From: WuMingDao <146366930+WuMingDao@users.noreply.github.com> Date: Mon, 27 Oct 2025 09:36:51 +0800 Subject: [PATCH] Translate ESLint plugin section to Chinese in /reference/react/index.md --- src/content/reference/react/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/reference/react/index.md b/src/content/reference/react/index.md index 82a043a0a8..6f12a48f97 100644 --- a/src/content/reference/react/index.md +++ b/src/content/reference/react/index.md @@ -38,11 +38,11 @@ React Compiler 是一个构建时优化工具,可以自动为你的 React 组 * [指令](/reference/react-compiler/directives) —— 用于控制编译的函数级指令。 * [编译库](/reference/react-compiler/compiling-libraries) —— 发布预编译库代码的指南。 -## ESLint Plugin React Hooks {/*eslint-plugin-react-hooks*/} +## React Hook 的 ESLint 插件 {/*eslint-plugin-react-hooks*/} -The [ESLint plugin for React Hooks](/reference/eslint-plugin-react-hooks) helps enforce the Rules of React: +[React Hook 的 ESLint 插件](/reference/eslint-plugin-react-hooks) 帮助强制执行 React 的规则: -* [Lints](/reference/eslint-plugin-react-hooks) - Detailed documentation for each lint with examples. +* [Lints](/reference/eslint-plugin-react-hooks) - 每种 Lint 的例子的详细文档。 ## Rules of React {/*rules-of-react*/}