From 52c2f363c48060f55e75d0cdfa7753854499bd4f Mon Sep 17 00:00:00 2001 From: Manuel Ruck Date: Sat, 25 May 2024 18:52:26 +0200 Subject: [PATCH] fix: eslint issues Signed-off-by: Manuel Ruck --- democracy/desktop/.eslintrc | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/democracy/desktop/.eslintrc b/democracy/desktop/.eslintrc index cb9b8663..a6bbf36d 100644 --- a/democracy/desktop/.eslintrc +++ b/democracy/desktop/.eslintrc @@ -1,10 +1,7 @@ { + "root": true, // Configuration for JavaScript files - "extends": [ - "airbnb-base", - "next/core-web-vitals", - "plugin:prettier/recommended" - ], + "extends": ["airbnb-base", "next/core-web-vitals", "plugin:prettier/recommended"], "rules": { "prettier/prettier": [ "error", @@ -25,9 +22,6 @@ "next/core-web-vitals", "plugin:prettier/recommended" ], - "parserOptions": { - "project": "./tsconfig.json" - }, "rules": { "prettier/prettier": [ "error", @@ -70,10 +64,7 @@ ], // Follow the same ordering as the official plugin `prettier-plugin-tailwindcss` "@typescript-eslint/no-unused-vars": "off", "unused-imports/no-unused-imports": "error", - "unused-imports/no-unused-vars": [ - "error", - { "argsIgnorePattern": "^_" } - ] + "unused-imports/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }] } } ]