From 2b5dc5de3f0915fbd85c018436f413b1c155223c Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Tue, 16 Aug 2022 08:10:39 +0000 Subject: [PATCH] Bug 1783565 - Set ESLint rule no-shadow to warning for where it is turned on in netwerk. r=dragana Differential Revision: https://phabricator.services.mozilla.com/D153899 --- .eslintrc.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 5f7e9b754c2d..aa6acbec10ba 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -230,14 +230,9 @@ module.exports = { ], }, { - files: [ - "netwerk/cookie/test/browser/**", - "netwerk/test/browser/**", - "netwerk/test/mochitests/**", - "netwerk/test/unit*/**", - ], + files: ["netwerk/test/mochitests/**", "netwerk/test/unit*/**"], rules: { - "no-shadow": "off", + "no-shadow": "warn", }, }, {