Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit f8590fd

Browse files
committed
Preset: add disallowSpacesInsideTemplateStringPlaceholders to airbnb
Even though code style does not explicitly say this, but such pattern clearly shown in code examples
1 parent 0e00ce8 commit f8590fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

presets/airbnb.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"disallowMultipleVarDecl": true,
3131
"disallowSpaceBeforeComma": true,
3232
"disallowSpaceBeforeSemicolon": true,
33+
"disallowSpacesInsideTemplateStringPlaceholders": true,
3334
"requireSpaceBeforeBlockStatements": true,
3435
"requireParenthesesAroundIIFE": true,
3536
"requireSpacesInAnonymousFunctionExpression": {

0 commit comments

Comments
 (0)