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

Commit ea48ccc

Browse files
Do not allow spaces between template tag and the function
Rationale: It is basically a function call, therefore it should look like a function call. There are no spaces between the function's name and its parens when calling the function.
1 parent be2b30b commit ea48ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coding-styles/fixable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ module.exports = {
360360
// Require or disallow spacing between template tags and their literals
361361
// This rule aims to maintain consistency around the spacing between template tag functions and
362362
// their template literals.
363-
'template-tag-spacing': ['warn', 'always'],
363+
'template-tag-spacing': ['warn', 'never'],
364364

365365
// Require IIFEs to be Wrapped
366366
'wrap-iife': ['warn', 'inside'],

0 commit comments

Comments
 (0)