From a2768efb963a6538090a8fb6fdf524743401ca33 Mon Sep 17 00:00:00 2001 From: 7h3Rabbit <62792609+7h3Rabbit@users.noreply.github.com> Date: Thu, 10 Apr 2025 10:29:47 +0200 Subject: [PATCH] Rebalance severity --- configurations/security.mjs | 24 ++++++++++-------------- configurations/standard.mjs | 4 ++-- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/configurations/security.mjs b/configurations/security.mjs index 9229ea2..a9240ea 100644 --- a/configurations/security.mjs +++ b/configurations/security.mjs @@ -12,23 +12,19 @@ export default [{ }, rules: { - "no-eval": "error", - "no-implied-eval": "error", - "no-new-func": "error", - "no-script-url": "error", + "no-eval": "warn", + "no-implied-eval": "warn", + "no-new-func": "warn", + "no-script-url": "warn", "no-unsafe-finally": "error", "no-unsafe-negation": "error", - "no-prototype-builtins": "error", - "no-self-assign": "error", - "no-self-compare": "error", + "no-prototype-builtins": "warn", "no-unmodified-loop-condition": "error", - "no-unused-expressions": "error", - "no-useless-call": "error", - "no-useless-concat": "error", - "no-useless-escape": "error", - "no-with": "error", - "require-await": "error", - "no-return-await": "error", + "no-useless-concat": "warn", + "no-useless-escape": "warn", + "no-with": "warn", + "require-await": "warn", + "no-return-await": "warn", "eqeqeq": ["error", "always"], }, }]; \ No newline at end of file diff --git a/configurations/standard.mjs b/configurations/standard.mjs index 135e433..8b6ea60 100644 --- a/configurations/standard.mjs +++ b/configurations/standard.mjs @@ -12,9 +12,9 @@ export default [{ }, rules: { - "no-console": "error", + "no-console": "warn", "no-undef": "error", - "no-unused-vars": ["error", { + "no-unused-vars": ["warn", { vars: "all", args: "after-used", ignoreRestSiblings: false,