Skip to content

Commit

Permalink
Docs: Update quotes.md (#10862)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt authored and not-an-aardvark committed Sep 19, 2018
1 parent 9159e9b commit 4eb9a49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rules/quotes.md
Expand Up @@ -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.

0 comments on commit 4eb9a49

Please sign in to comment.