tor-browser

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

.eslintrc.mjs (794B)


      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    rules: {
      8      // XXX These are rules that are enabled in the recommended configuration, but
      9      // disabled here due to failures when initially implemented. They should be
     10      // removed (and hence enabled) at some stage.
     11      "no-nested-ternary": "off",
     12    },
     13  },
     14  {
     15    files: [
     16      // Bug 1602061 TODO: These tests access DOM elements via
     17      // id-as-variable-name, which eslint doesn't have support for yet.
     18      "attributes/test_listbox.html",
     19      "treeupdate/test_ariaowns.html",
     20    ],
     21    rules: {
     22      "no-undef": "off",
     23    },
     24  },
     25 ];