Skip to content

Commit 0b84878

Browse files
committed
Add a lint rule
1 parent 0b46d00 commit 0b84878

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,7 @@ export default [
11921192
// Application-specific ordering is more relevant than type-specific
11931193
'@typescript-eslint/member-ordering': 0,
11941194
'@typescript-eslint/prefer-optional-chain': 2,
1195+
'@typescript-eslint/no-misused-spread': 2,
11951196

11961197
// Classes
11971198
'@typescript-eslint/unbound-method': 2,

0 commit comments

Comments
 (0)