Skip to content

Commit

Permalink
ESLint rule to allow empty interfaces - needed for the Modal as it re…
Browse files Browse the repository at this point in the history
…turns nothing
  • Loading branch information
warrenbuckley committed Dec 10, 2024
1 parent 680027a commit d39fc11
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions ExaminePeek/Client/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];

0 comments on commit d39fc11

Please sign in to comment.