Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / devtools / client / .eslintrc.js
blobb3f236d0d86aa304bdff806205a83c38bb18fabb
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/. */
5 "use strict";
7 module.exports = {
8 globals: {
9 define: true,
11 rules: {
12 // See bug 1288147, the devtools front-end wants to be able to run in
13 // content privileged windows, where ownerGlobal doesn't exist.
14 "mozilla/use-ownerGlobal": "off",
16 overrides: [
18 // Tests verify the exact source code of these functions
19 files: ["inspector/markup/test/doc_markup_events_*.html"],
20 rules: {
21 "no-unused-vars": "off",