Skip to content

Commit 88ff4ea

Browse files
vmasekmatejchalk
authored andcommitted
Allow Boolean for js templates
1 parent 730475a commit 88ff4ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

typescript.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ module.exports = {
5151
'@typescript-eslint/prefer-return-this-type': 'warn',
5252
'@typescript-eslint/restrict-template-expressions': [
5353
'error',
54-
{ allowNumber: true },
54+
{
55+
allowBoolean: true,
56+
allowNumber: true,
57+
},
5558
],
5659

5760
// DISABLED RULES FROM EXTENDED CONFIGS

0 commit comments

Comments
 (0)