gecko-dev/devtools/.eslintrc.xpcshell.js
Julian Descottes e540d28f07 Bug 1621576 - Apply mozilla/balanced-observers eslint rule in devtools r=ochameau
Depends on D66378

Differential Revision: https://phabricator.services.mozilla.com/D66379

--HG--
extra : moz-landing-system : lando
2020-03-16 12:48:56 +00:00

16 lines
441 B
JavaScript

// Parent config file for all devtools xpcshell files.
module.exports = {
"extends": [
"plugin:mozilla/xpcshell-test"
],
"rules": {
// Allow non-camelcase so that run_test doesn't produce a warning.
"camelcase": "off",
"block-scoped-var": "off",
// Tests don't have to cleanup observers
"mozilla/balanced-observers": 0,
// Tests can always import anything.
"mozilla/reject-some-requires": "off",
}
};