We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05da0aa commit 2a2370dCopy full SHA for 2a2370d
example-app/eslint-breaking-examples/no-empty-object-type.ts
@@ -0,0 +1,5 @@
1
+type AppThemes = { light: {} };
2
+
3
+declare module "react-native-unistyles" {
4
+ export interface UnistylesThemes extends AppThemes {}
5
+}
packages/eslint-plugin/lib/configs/recommended.ts
@@ -105,6 +105,10 @@ export const recommendedConfig = tseslint.config(
105
"@typescript-eslint/return-await": "error",
106
"@typescript-eslint/no-floating-promises": "error",
107
"@typescript-eslint/no-unnecessary-condition": "error",
108
+ "@typescript-eslint/no-empty-object-type": [
109
+ "error",
110
+ { allowInterfaces: "with-single-extends" },
111
+ ],
112
},
113
114
);
0 commit comments