diff --git a/docs/rules/jsx-no-literals.md b/docs/rules/jsx-no-literals.md index 5478aaa097..3933357f52 100644 --- a/docs/rules/jsx-no-literals.md +++ b/docs/rules/jsx-no-literals.md @@ -27,8 +27,8 @@ There is only one option: To use, you can specify like the following: -```json -"react/jsx-no-literals": [{"noStrings": true}] +```js +"react/jsx-no-literals": [, {"noStrings": true}] ``` In this configuration, the following are considered warnings: