Skip to content

Commit 320338a

Browse files
authored
Merge pull request #991 from reactjs/tr/eslint-gating
Translate gating lint rule
2 parents b747022 + 5b0f8b9 commit 320338a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • src/content/reference/eslint-plugin-react-hooks/lints

‎src/content/reference/eslint-plugin-react-hooks/lints/gating.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ title: gating
44

55
<Intro>
66

7-
Validates configuration of [gating mode](/reference/react-compiler/gating).
7+
[ゲーティングモード](/reference/react-compiler/gating)の設定を検証します。
88

99
</Intro>
1010

11-
## Rule Details {/*rule-details*/}
11+
## ルールの詳細 {/*rule-details*/}
1212

13-
Gating mode lets you gradually adopt React Compiler by marking specific components for optimization. This rule ensures your gating configuration is valid so the compiler knows which components to process.
13+
ゲーティングモードでは、特定のコンポーネントを最適化の対象として指定することで、React Compiler を段階的に導入できます。このルールは、ゲーティングの設定が有効であることを確認し、コンパイラがどのコンポーネントを処理すべきか判断できるようにします。
1414

15-
### Invalid {/*invalid*/}
15+
### 無効な例 {/*invalid*/}
1616

17-
Examples of incorrect code for this rule:
17+
このルールに違反するコードの例です。
1818

1919
```js
2020
// ❌ Missing required fields
@@ -39,9 +39,9 @@ module.exports = {
3939
};
4040
```
4141

42-
### Valid {/*valid*/}
42+
### 有効な例 {/*valid*/}
4343

44-
Examples of correct code for this rule:
44+
このルールに従ったコードの例です。
4545

4646
```js
4747
// ✅ Complete gating configuration

0 commit comments

Comments
 (0)