Skip to content

Commit bba60e1

Browse files
committed
linter: enforces avoidance of duplicate assignment of parameter properties
1 parent 282b260 commit bba60e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eslint.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ const extraConfigForTypeScriptESLint: ConfigWithExtends = {
7373
'@typescript-eslint/no-import-type-side-effects': [
7474
'error', // Avoids unexpected behavior, trims down the size of the bundle
7575
],
76+
'@typescript-eslint/no-unnecessary-parameter-property-assignment': [
77+
'error', // See https://www.typescriptlang.org/docs/handbook/2/classes.html#parameter-properties for more information
78+
],
7679
},
7780
};
7881

0 commit comments

Comments
 (0)