summaryrefslogtreecommitdiffstats
path: root/security/.eslintrc.js
diff options
context:
space:
mode:
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"],