aboutsummaryrefslogtreecommitdiffstats
path: root/thallium-frontend/eslint.config.js
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-17 02:38:52 +0100
committerGravatar Joe Banks <[email protected]>2024-08-17 02:38:52 +0100
commit26530587923b4b73aa5a993b320a69ec345d36f1 (patch)
treea8b352ba26e39cc312c0e208caf1028ce76a05cf /thallium-frontend/eslint.config.js
parentRemove unused React import (diff)
Fix all TypeScript errors so far
Diffstat (limited to 'thallium-frontend/eslint.config.js')
-rw-r--r--thallium-frontend/eslint.config.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/thallium-frontend/eslint.config.js b/thallium-frontend/eslint.config.js
index 506b585..ea31b7d 100644
--- a/thallium-frontend/eslint.config.js
+++ b/thallium-frontend/eslint.config.js
@@ -35,7 +35,10 @@ export default tseslint.config(
{ allowConstantExport: true },
],
...react.configs.recommended.rules,
- ...react.configs['jsx-runtime'].rules
+ ...react.configs['jsx-runtime'].rules,
+ '@typescript-eslint/no-empty-object-type': ["error", {
+ allowInterfaces: 'with-single-extends',
+ }]
},
},
)