From 2f741a2b6f8e556f8ba6c9f01d32f5178a65fe06 Mon Sep 17 00:00:00 2001 From: Masafumi Koba Date: Mon, 26 Mar 2018 11:01:47 +0900 Subject: [PATCH] [Docs] Fix sample config code in "react/jsx-no-literals" Make same as other rules. --- docs/rules/jsx-no-literals.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: