From 893d6f6dc64da8eba1feb25f6b4546c9e46a22f4 Mon Sep 17 00:00:00 2001 From: Filip Pospisil Date: Mon, 26 Feb 2024 12:01:47 +0100 Subject: [PATCH] Starting with some rules. --- .eslintrc.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index db1f437ea..df129a443 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -24,10 +24,10 @@ "eslint-plugin-import" ], "rules": { - "@typescript-eslint/no-var-requires": "off", /** allows require statements outside of imports **/ + "@typescript-eslint/no-var-requires": "off", /** allows require statements outside of imports was off**/ "no-async-promise-executor": "off", /* Deactivated for now as i do not know how to fix it safely*/ - "@typescript-eslint/no-namespace": "off", - "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-namespace": "off", // was off + "@typescript-eslint/no-explicit-any": "off", // was off "@typescript-eslint/no-floating-promises": "warn", // we need this rules @@ -41,6 +41,15 @@ "@typescript-eslint/no-base-to-string": "off", "@typescript-eslint/no-unsafe-return": "off", "@typescript-eslint/restrict-template-expressions": "off", + "no-unused-vars": "off", + "no-extra-semi": "off", + "prefer-const": "off", // was warn + "curly": "off", // was warn + "eqeqeq": "off", // was warn + "no-throw-literal": "off", // was warn + "@typescript-eslint/no-unused-vars": "off", // was warn + "@typescript-eslint/restrict-plus-operands": "off", // was warn + "import/no-extraneous-dependencies": [ "error", {