Skip to content

Commit

Permalink
fix: allow booleans in template strings
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker committed Mar 2, 2020
1 parent 3d92055 commit 1ead75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ module.exports = {
'@typescript-eslint/prefer-nullish-coalescing': 'off', // https://github.com/typescript-eslint/typescript-eslint/issues/1265
'@typescript-eslint/type-annotation-spacing': 'off',
'@typescript-eslint/triple-slash-reference': 'error',
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }],
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true, allowBoolean: true }],
'@typescript-eslint/return-await': 'error',
'@typescript-eslint/unbound-method': 'error',
'@typescript-eslint/unified-signatures': 'error',
Expand Down

0 comments on commit 1ead75f

Please sign in to comment.