Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Eslint: 'typescript-eslint/no-empty-object-type' - allow single extends

Blue Mouse77bb6e6f82ad
diff --git a/.eslintrc.js b/.eslintrc.js
index 771e9cd8c..f29eed4c1 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -51,6 +51,12 @@ module.exports = {
'max-classes-per-file': 'off',
'@typescript-eslint/no-unused-vars': 'off', // disabled in favour of no-unused-vars
'no-unused-vars': 'warn',
+ '@typescript-eslint/no-empty-object-type': [
+ 'error',
+ {
+ allowInterfaces: 'with-single-extends',
+ },
+ ],
semi: ['error', 'never'],
},
}