Skip to content

Commit 0637286

Browse files
authored
docs: mention allowTemplateLiterals: "never" for @stylistic/quotes rule (#344)
1 parent 9b0b0a4 commit 0637286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ If you’d like ESLint to enforce `` `could have been a regular string` `` being
616616
- The first (string) option needs to be set to `"single"` or `"double"` and be kept in sync with Prettier’s [singleQuote] option.
617617
- The second (object) option needs the following properties:
618618
- `"avoidEscape": true` to follow Prettier’s [string formatting rules].
619-
- `"allowTemplateLiterals": false` to disallow unnecessary backticks.
619+
- `"allowTemplateLiterals": false` ([@stylistic/quotes] uses `"never"` instead of `false`) to disallow unnecessary backticks.
620620

621621
##### Example double quote configuration
622622

0 commit comments

Comments
 (0)