From 4eb9a4980b81ea7effbd08c3b20a5ff221351284 Mon Sep 17 00:00:00 2001 From: The Jared Wilcurt Date: Wed, 19 Sep 2018 16:53:09 -0400 Subject: [PATCH] Docs: Update quotes.md (#10862) --- docs/rules/quotes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/rules/quotes.md b/docs/rules/quotes.md index 02c748c4da8..25a09fd0dbf 100644 --- a/docs/rules/quotes.md +++ b/docs/rules/quotes.md @@ -147,6 +147,8 @@ var single = 'single'; var single = `single`; ``` +`{ "allowTemplateLiterals": false }` will not disallow the usage of all template literals. If you want to forbid any instance of template literals, use [no-restricted-syntax](https://eslint.org/docs/rules/no-restricted-syntax) and target the `TemplateLiteral` selector. + ## When Not To Use It If you do not need consistency in your string styles, you can safely disable this rule.