Skip to content

Commit

Permalink
feat!: @typescript-eslint/no-unnecessary-type-parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
rostislav-simonik committed Sep 28, 2024
1 parent cf192e0 commit 3a6f0ce
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 @@ -176,6 +176,7 @@ export const tseslintRules: Record<string, TSESLint.SharedConfig.RuleEntry> = {
'@typescript-eslint/no-unnecessary-type-arguments': ['error'],
'@typescript-eslint/no-unnecessary-type-assertion': ['error'],
'@typescript-eslint/no-unnecessary-type-constraint': ['error'],
'@typescript-eslint/no-unnecessary-type-parameters': ['error'],
'@typescript-eslint/no-unsafe-argument': ['error'],
'@typescript-eslint/no-unsafe-function-type': ['error'],
'@typescript-eslint/no-unused-expressions': [
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 @@ -348,6 +348,7 @@ export const expectedTseslintRules: Record<
'@typescript-eslint/no-unnecessary-type-arguments': ['error'],
'@typescript-eslint/no-unnecessary-type-assertion': ['error'],
'@typescript-eslint/no-unnecessary-type-constraint': ['error'],
'@typescript-eslint/no-unnecessary-type-parameters': ['error'],
'@typescript-eslint/no-unsafe-argument': ['error'],
'@typescript-eslint/no-unsafe-function-type': ['error'],
'@typescript-eslint/no-unused-expressions': [
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-type-parameters',
'@typescript-eslint/no-unsafe-assignment',
'@typescript-eslint/no-unsafe-call',
'@typescript-eslint/no-unsafe-declaration-merging',
Expand Down

0 comments on commit 3a6f0ce

Please sign in to comment.