Skip to content

Commit

Permalink
Allow number in "@typescript-eslint/restrict-template-expressions"
Browse files Browse the repository at this point in the history
  • Loading branch information
studnitz committed Apr 19, 2024
1 parent 4147468 commit 2309f39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ module.exports = {
'error',
{ prefer: 'type-imports', disallowTypeAnnotations: false },
],
'@typescript-eslint/restrict-template-expressions': [
'error',
{ allowNumber: true },
],

// handled by unused-imports/no-unused-imports
'@typescript-eslint/no-unused-vars': 'off',
Expand Down

0 comments on commit 2309f39

Please sign in to comment.