Skip to content

Commit 39f9ad8

Browse files
committed
Adjust configurations according to Slack discussion - change to either use error or off (no warnings)
1 parent ccd5c88 commit 39f9ad8

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

configurations/security.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ export default [{
1414
rules: {
1515
"no-eval": "error",
1616
"no-implied-eval": "error",
17-
"no-new-func": "warn",
17+
"no-new-func": "off",
1818
"no-script-url": "error",
19-
"no-unsafe-finally": "warn",
20-
"no-unsafe-negation": "warn",
21-
"no-prototype-builtins": "warn",
22-
"no-with": "warn",
23-
"require-await": "warn",
19+
"no-unsafe-finally": "off",
20+
"no-unsafe-negation": "off",
21+
"no-prototype-builtins": "off",
22+
"no-with": "off",
23+
"require-await": "off",
2424
"eqeqeq": "off",
2525
},
2626
}];

configurations/standard.mjs

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

1414
rules: {
15-
"no-console": "warn",
16-
"no-debugger": "warn",
17-
"no-unreachable": "warn",
18-
"no-undef": "warn",
19-
"no-unmodified-loop-condition": "warn",
20-
"no-useless-concat": "warn",
21-
"no-useless-escape": "warn",
22-
"no-unused-vars": ["warn", {
23-
vars: "all",
24-
args: "after-used",
25-
ignoreRestSiblings: false,
26-
}],
15+
"no-console": "off",
16+
"no-debugger": "error",
17+
"no-unreachable": "off",
18+
"no-undef": "off",
19+
"no-unmodified-loop-condition": "off",
20+
"no-useless-concat": "off",
21+
"no-useless-escape": "off",
22+
"no-unused-vars": "off",
2723
semi: "off",
2824
quotes: "off",
2925
indent: "off",

0 commit comments

Comments
 (0)