diff --git a/ExaminePeek/Client/eslint.config.js b/ExaminePeek/Client/eslint.config.js index 90306f0..6804ec8 100644 --- a/ExaminePeek/Client/eslint.config.js +++ b/ExaminePeek/Client/eslint.config.js @@ -5,9 +5,20 @@ import tseslint from "typescript-eslint"; /** @type {import('eslint').Linter.Config[]} */ export default [ - {files: ["**/*.{js,mjs,cjs,ts}"]}, - {ignores: ["src/Api/*"]}, - {languageOptions: { globals: globals.browser }}, + { files: ["**/*.{js,mjs,cjs,ts}"] }, + { ignores: ["src/Api/*"] }, + { languageOptions: { globals: globals.browser } }, + { + rules: + { + "@typescript-eslint/no-empty-object-type": [ + "error", + { + "allowInterfaces": "always" + } + ] + } + }, pluginJs.configs.recommended, ...tseslint.configs.recommended, ]; \ No newline at end of file