mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
18a7d3b601
MozReview-Commit-ID: 5uGOROUTrn2 --HG-- extra : rebase_source : 0009443e5226883d55b2d3d917a7cd408f3adc76
27 lines
560 B
JavaScript
27 lines
560 B
JavaScript
// Parent config file for all devtools browser mochitest files.
|
|
module.exports = {
|
|
"extends": [
|
|
"../testing/mochitest/browser.eslintrc.js"
|
|
],
|
|
// All globals made available in the test environment.
|
|
"globals": {
|
|
"DevToolsUtils": true,
|
|
"gDevTools": true,
|
|
"once": true,
|
|
"synthesizeKeyFromKeyTag": true,
|
|
"TargetFactory": true,
|
|
"waitForTick": true,
|
|
},
|
|
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true,
|
|
}
|
|
},
|
|
|
|
"rules": {
|
|
// Tests can always import anything.
|
|
"mozilla/reject-some-requires": 0,
|
|
},
|
|
};
|