Skip to content

Commit bb8b0f9

Browse files
authored
Merge pull request #22 from Webperf-se/severity
Rebalance severity
2 parents 05abeca + a2768ef commit bb8b0f9

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

configurations/security.mjs

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,19 @@ export default [{
1212
},
1313

1414
rules: {
15-
"no-eval": "error",
16-
"no-implied-eval": "error",
17-
"no-new-func": "error",
18-
"no-script-url": "error",
15+
"no-eval": "warn",
16+
"no-implied-eval": "warn",
17+
"no-new-func": "warn",
18+
"no-script-url": "warn",
1919
"no-unsafe-finally": "error",
2020
"no-unsafe-negation": "error",
21-
"no-prototype-builtins": "error",
22-
"no-self-assign": "error",
23-
"no-self-compare": "error",
21+
"no-prototype-builtins": "warn",
2422
"no-unmodified-loop-condition": "error",
25-
"no-unused-expressions": "error",
26-
"no-useless-call": "error",
27-
"no-useless-concat": "error",
28-
"no-useless-escape": "error",
29-
"no-with": "error",
30-
"require-await": "error",
31-
"no-return-await": "error",
23+
"no-useless-concat": "warn",
24+
"no-useless-escape": "warn",
25+
"no-with": "warn",
26+
"require-await": "warn",
27+
"no-return-await": "warn",
3228
"eqeqeq": ["error", "always"],
3329
},
3430
}];

configurations/standard.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ export default [{
1212
},
1313

1414
rules: {
15-
"no-console": "error",
15+
"no-console": "warn",
1616
"no-undef": "error",
17-
"no-unused-vars": ["error", {
17+
"no-unused-vars": ["warn", {
1818
vars: "all",
1919
args: "after-used",
2020
ignoreRestSiblings: false,

0 commit comments

Comments
 (0)