Skip to content

Commit

Permalink
feat!: @typescript-eslint/no-unnecessary-template-expression
Browse files Browse the repository at this point in the history
  • Loading branch information
rostislav-simonik committed Sep 28, 2024
1 parent 5339eea commit b0499ee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export const tseslintRules: Record<string, TSESLint.SharedConfig.RuleEntry> = {
],
'@typescript-eslint/no-unnecessary-parameter-property-assignment': ['error'],
'@typescript-eslint/no-unnecessary-qualifier': ['error'],
'@typescript-eslint/no-unnecessary-template-expression': ['error'],
'@typescript-eslint/no-unnecessary-type-assertion': ['error'],
'@typescript-eslint/no-unnecessary-type-constraint': ['error'],
'@typescript-eslint/no-unsafe-argument': ['error'],
Expand Down
1 change: 1 addition & 0 deletions src/test/_expected-exported-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ export const expectedTseslintRules: Record<
],
'@typescript-eslint/no-unnecessary-parameter-property-assignment': ['error'],
'@typescript-eslint/no-unnecessary-qualifier': ['error'],
'@typescript-eslint/no-unnecessary-template-expression': ['error'],
'@typescript-eslint/no-unnecessary-type-assertion': ['error'],
'@typescript-eslint/no-unnecessary-type-constraint': ['error'],
'@typescript-eslint/no-unsafe-argument': ['error'],
Expand Down
1 change: 0 additions & 1 deletion src/test/_rules_to_consider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ export const promiseRulesToConsider = [
]

export const tseslintRulesToConsider = [
'@typescript-eslint/no-unnecessary-template-expression',
'@typescript-eslint/no-unnecessary-type-arguments',
'@typescript-eslint/no-unnecessary-type-parameters',
'@typescript-eslint/no-unsafe-assignment',
Expand Down

0 comments on commit b0499ee

Please sign in to comment.