Bug 1859954 - Use XP_DARWIN rather than XP_MACOS in PHC r=glandium
[gecko.git] / devtools / .eslintrc.xpcshell.js
blob68b3a9aa83205e481f22697a41ec93779549ea69
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 // Parent config file for all devtools xpcshell files.
8 module.exports = {
9   extends: ["plugin:mozilla/xpcshell-test"],
10   rules: {
11     // Allow non-camelcase so that run_test doesn't produce a warning.
12     camelcase: "off",
13     "block-scoped-var": "off",
14     // Tests don't have to cleanup observers
15     "mozilla/balanced-observers": 0,
16     // Tests can always import anything.
17     "mozilla/reject-some-requires": "off",
18   },