From 364f6ae721884ec14f52e52c2ffe0143a06f3174 Mon Sep 17 00:00:00 2001 From: Miguel Lehmann Date: Tue, 19 Nov 2024 10:28:52 +0100 Subject: [PATCH] edit config --- frontend/eslint.config.mjs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs index 160194cb71..9345f95782 100644 --- a/frontend/eslint.config.mjs +++ b/frontend/eslint.config.mjs @@ -1,8 +1,14 @@ import eslint from '@eslint/js'; import tseslint from 'typescript-eslint'; +import {rules} from "@typescript-eslint/eslint-plugin"; export default tseslint.config( eslint.configs.recommended, ...tseslint.configs.recommended, -); \ No newline at end of file + { + rules: { + "unused-imports/no-unused-imports": "error", + } + } +);