gecko-dev/devtools/.eslintrc.xpcshell.js
Mark Banner ca1d1c7f94 Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe
MozReview-Commit-ID: 39cCKczUMQI

--HG--
extra : rebase_source : 95819adebef10c8db626bc75f985f75f9e39cad8
2018-03-06 22:50:58 +00:00

14 lines
359 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 can always import anything.
"mozilla/reject-some-requires": "off",
}
};