Skip to content

Commit 9346eb8

Browse files
authored
Merge pull request #1743 from ybiquitous/fix-sample-code-react-jsx-no-literals
[Docs] Fix sample config code in "react/jsx-no-literals"
2 parents 5890533 + 2f741a2 commit 9346eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/jsx-no-literals.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ There is only one option:
2727

2828
To use, you can specify like the following:
2929

30-
```json
31-
"react/jsx-no-literals": [{"noStrings": true}]
30+
```js
31+
"react/jsx-no-literals": [<enabled>, {"noStrings": true}]
3232
```
3333

3434
In this configuration, the following are considered warnings:

0 commit comments

Comments
 (0)