tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

.eslintrc.mjs (710B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 export default [
      6  {
      7    languageOptions: {
      8      globals: {
      9        define: true,
     10      },
     11    },
     12    rules: {
     13      // See bug 1288147, the devtools front-end wants to be able to run in
     14      // content privileged windows, where ownerGlobal doesn't exist.
     15      "mozilla/use-ownerGlobal": "off",
     16    },
     17  },
     18  {
     19    // Tests verify the exact source code of these functions
     20    files: ["inspector/markup/test/events/doc_markup_events_*.html"],
     21    rules: {
     22      "no-unused-vars": "off",
     23    },
     24  },
     25 ];