chore: enable no-useless-template-literals rule (#11573)

This commit is contained in:
Nikolay Vitkov
2024-01-02 13:35:01 +01:00
committed by GitHub
parent 66aa770038
commit 42b03a67d0
4 changed files with 9 additions and 8 deletions

View File

@@ -185,6 +185,7 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'off',
// We allow non-null assertions if the value was asserted using `assert` API.
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-useless-template-literals': 'error',
/**
* This is the default options (as per
* https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/docs/rules/ban-types.md),