Skip to content

Commit abfcdd8

Browse files
committed
Translate config
1 parent 37a7f80 commit abfcdd8

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

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

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

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

55
<Intro>
66

7-
Validates the compiler [configuration options](/reference/react-compiler/configuration).
7+
コンパイラの[設定オプション](/reference/react-compiler/configuration)を検証します。
88

99
</Intro>
1010

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

13-
React Compiler accepts various [configuration options](/reference/react-compiler/configuration) to control its behavior. This rule validates that your configuration uses correct option names and value types, preventing silent failures from typos or incorrect settings.
13+
React Compiler は、動作を制御するさまざまな[設定オプション](/reference/react-compiler/configuration)を受け付けます。このルールは、設定で正しいオプション名と値の型が使われているか検証し、タイプミスや誤った設定によって気づかないうちに動作しなくなることを防ぎます。
1414

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

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

1919
```js
2020
// ❌ Unknown option name
@@ -36,9 +36,9 @@ module.exports = {
3636
};
3737
```
3838

39-
### Valid {/*valid*/}
39+
### 有効な例 {/*valid*/}
4040

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

4343
```js
4444
// ✅ Valid compiler configuration
@@ -52,11 +52,11 @@ module.exports = {
5252
};
5353
```
5454

55-
## Troubleshooting {/*troubleshooting*/}
55+
## トラブルシューティング {/*troubleshooting*/}
5656

57-
### Configuration not working as expected {/*config-not-working*/}
57+
### 設定が期待どおりに動作しない {/*config-not-working*/}
5858

59-
Your compiler configuration might have typos or incorrect values:
59+
以下のように、コンパイラの設定にタイプミスや誤った値が含まれているかもしれません。
6060

6161
```js
6262
// ❌ Wrong: Common configuration mistakes
@@ -74,7 +74,7 @@ module.exports = {
7474
};
7575
```
7676

77-
Check the [configuration documentation](/reference/react-compiler/configuration) for valid options:
77+
有効なオプションについては、[設定のドキュメント](/reference/react-compiler/configuration)を確認してください。
7878

7979
```js
8080
// ✅ Better: Valid configuration

0 commit comments

Comments
 (0)