Skip to content

Commit

Permalink
feat!: @typescript-eslint/no-unnecessary-parameter-property-assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Sep 21, 2024
1 parent 20300a4 commit 674dddc
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 @@ -170,6 +170,7 @@ export const tseslintRules: Record<string, TSESLint.SharedConfig.RuleEntry> = {
allowConstantLoopConditions: true,
},
],
'@typescript-eslint/no-unnecessary-parameter-property-assignment': ['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 @@ -342,6 +342,7 @@ export const expectedTseslintRules: Record<
allowConstantLoopConditions: true,
},
],
'@typescript-eslint/no-unnecessary-parameter-property-assignment': ['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-parameter-property-assignment',
'@typescript-eslint/no-unnecessary-qualifier',
'@typescript-eslint/no-unnecessary-template-expression',
'@typescript-eslint/no-unnecessary-type-arguments',
Expand Down

0 comments on commit 674dddc

Please sign in to comment.