Skip to content

Commit

Permalink
Bug 1783565 - Set ESLint rule no-shadow to warning for where it is tu…
Browse files Browse the repository at this point in the history
…rned on in netwerk. r=dragana

Differential Revision: https://phabricator.services.mozilla.com/D153899
Standard8 committed Aug 16, 2022
1 parent 2eefafd commit 7628636
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -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",
},
},
{

0 comments on commit 7628636

Please sign in to comment.