mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-06 21:05:37 +00:00
bd625e4e9f
MozReview-Commit-ID: LH0CQOPfoe6 --HG-- extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
20 lines
683 B
JavaScript
20 lines
683 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",
|
|
// Allow using undefined variables so that tests can refer to functions
|
|
// and variables defined in head.js files, without having to maintain a
|
|
// list of globals in each .eslintrc file.
|
|
// Note that bug 1168340 will eventually help auto-registering globals
|
|
// from head.js files.
|
|
"no-undef": "off",
|
|
"block-scoped-var": "off",
|
|
// Tests can always import anything.
|
|
"mozilla/reject-some-requires": "off",
|
|
}
|
|
};
|