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,