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", + }, + }, ], };