Skip to content

Commit cec217b

Browse files
committedSep 10, 2024··
fix(deps): disable no-empty-object-type rule
This rule became enabled in the recommended rules of typescript-eslint v8. We disable it because we sometimes use {} as part of conditional types and mapped types, and the rule does not provide an option to accommodate these usages.
1 parent c8555da commit cec217b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ const config: Linter.Config = {
127127
{ignoreVoidOperator: true}
128128
],
129129
"@typescript-eslint/no-empty-function": "off",
130+
"@typescript-eslint/no-empty-object-type": "off",
130131
"@typescript-eslint/no-explicit-any": "error",
131132
"@typescript-eslint/no-extra-semi": "off",
132133
"@typescript-eslint/no-extraneous-class": "error",

0 commit comments

Comments
 (0)
Please sign in to comment.