diff options
author | 2024-08-17 02:38:52 +0100 | |
---|---|---|
committer | 2024-08-17 02:38:52 +0100 | |
commit | 26530587923b4b73aa5a993b320a69ec345d36f1 (patch) | |
tree | a8b352ba26e39cc312c0e208caf1028ce76a05cf /thallium-frontend/eslint.config.js | |
parent | Remove 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.js | 5 |
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', + }] }, }, ) |