From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- devtools/client/debugger/src/.eslintrc.js | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'devtools/client/debugger/src/.eslintrc.js') diff --git a/devtools/client/debugger/src/.eslintrc.js b/devtools/client/debugger/src/.eslintrc.js index b71126767c..ec6d77b504 100644 --- a/devtools/client/debugger/src/.eslintrc.js +++ b/devtools/client/debugger/src/.eslintrc.js @@ -108,9 +108,6 @@ module.exports = { "global-strict": 0, // Only useful in a node environment. "handle-callback-err": 0, - // Don't enforce the maximum depth that blocks can be nested. The complexity - // rule is a better rule to check this. - "max-depth": 0, // Maximum depth callbacks can be nested. "max-nested-callbacks": [2, 4], // Don't limit the number of parameters that can be used in a function. @@ -133,10 +130,6 @@ module.exports = { "no-catch-shadow": 2, // Disallow assignment in conditional expressions. "no-cond-assign": 2, - // Allow using the console API. - "no-console": 0, - // Allow using constant expressions in conditions like while (true) - "no-constant-condition": 0, // Allow use of the continue statement. "no-continue": 0, // Disallow control characters in regular expressions. @@ -267,10 +260,6 @@ module.exports = { "no-var": 0, // Allow using TODO/FIXME comments. "no-warning-comments": 0, - // Dont require method and property shorthand syntax for object literals. - // We use this in the code a lot, but not consistently, and this seems more - // like something to check at code review time. - "object-shorthand": 0, // Allow more than one variable declaration per function. "one-var": 0, // Require use of the second argument for parseInt(). -- cgit v1.2.3