summaryrefslogtreecommitdiffstats
path: root/security/.eslintrc.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /security/.eslintrc.js
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'security/.eslintrc.js')
-rw-r--r--security/.eslintrc.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/security/.eslintrc.js b/security/.eslintrc.js
index 676b3f267d..b99ca306cf 100644
--- a/security/.eslintrc.js
+++ b/security/.eslintrc.js
@@ -9,9 +9,6 @@ module.exports = {
// Enforce return statements in callbacks of array methods.
"array-callback-return": "error",
- // Verify calls of super() in constructors.
- "constructor-super": "error",
-
// Require default case in switch statements.
"default-case": "error",
@@ -22,9 +19,6 @@ module.exports = {
// case/default clauses.
"no-case-declarations": "error",
- // Disallow use of the console API.
- "no-console": ["error", { allow: ["error"] }],
-
// Disallow constant expressions in conditions (except for loops).
"no-constant-condition": ["error", { checkLoops: false }],
@@ -43,9 +37,6 @@ module.exports = {
// No expressions where a statement is expected
"no-unused-expressions": "error",
- // Disallow unnecessary escape usage in strings and regular expressions.
- "no-useless-escape": "error",
-
// Require "use strict" to be defined globally in the script.
strict: ["error", "global"],