Skip to content

Commit 1ead75f

Browse files
committed
fix: allow booleans in template strings
1 parent 3d92055 commit 1ead75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ module.exports = {
254254
'@typescript-eslint/prefer-nullish-coalescing': 'off', // https://github.com/typescript-eslint/typescript-eslint/issues/1265
255255
'@typescript-eslint/type-annotation-spacing': 'off',
256256
'@typescript-eslint/triple-slash-reference': 'error',
257-
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }],
257+
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true, allowBoolean: true }],
258258
'@typescript-eslint/return-await': 'error',
259259
'@typescript-eslint/unbound-method': 'error',
260260
'@typescript-eslint/unified-signatures': 'error',

0 commit comments

Comments
 (0)