From cb5d5e9e200f8a5163deecd54f3db2de32b8d37e Mon Sep 17 00:00:00 2001 From: Taylor Date: Wed, 19 Jun 2024 12:56:32 -0500 Subject: [PATCH] precommit fixes --- backend/app/agents/routes/agents.py | 4 +++- frontend/eslint.config.js | 6 +----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/backend/app/agents/routes/agents.py b/backend/app/agents/routes/agents.py index 54bb051ee..4eb45b8f9 100644 --- a/backend/app/agents/routes/agents.py +++ b/backend/app/agents/routes/agents.py @@ -30,7 +30,6 @@ from app.agents.wazuh.services.sca import collect_agent_sca from app.agents.wazuh.services.sca import collect_agent_sca_policy_results from app.agents.wazuh.services.vulnerabilities import collect_agent_vulnerabilities -from app.agents.wazuh.services.vulnerabilities import collect_agent_vulnerabilities_new # App specific imports from app.auth.routes.auth import AuthHandler @@ -40,6 +39,9 @@ # from app.db.db_session import session from app.db.universal_models import Agents +# from app.agents.wazuh.services.vulnerabilities import collect_agent_vulnerabilities_new + + agents_router = APIRouter() diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index d53a36f50..b768feaa1 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -20,7 +20,6 @@ export default [ ...pluginVue.configs["flat/essential"], ...compat.extends( "eslint:recommended", - "@typescript-eslint/recommended", "@vue/eslint-config-typescript/recommended", "@vue/eslint-config-prettier/skip-formatting" ), @@ -46,10 +45,7 @@ export default [ }, rules: { "vue/multi-word-component-names": "off", - "vue/no-setup-props-destructure": "off", - "no-redeclare": "off", - "@typescript-eslint/no-redeclare": "error", - "@typescript-eslint/adjacent-overload-signatures": "error" + "vue/no-setup-props-destructure": "off" } } ]