From 73fcd6408dd623e6bcf0a69eb66bfaecac6ec3ef Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Thu, 9 Jun 2022 21:05:38 +0000 Subject: [PATCH] Bug 1773452 - Disable ESlint warnings about use of osfile for osfile files. r=barret Differential Revision: https://phabricator.services.mozilla.com/D148754 --- .eslintrc.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index c458c77876c5..fbabd610e06c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -561,5 +561,12 @@ module.exports = { "devtools/**", ], }, + { + // Turn off the osfile rule for osfile. + files: ["toolkit/components/osfile/**"], + rules: { + "mozilla/reject-osfile": "off", + }, + }, ], };