зеркало из https://github.com/mozilla/gecko-dev.git
56 строки
1.4 KiB
JavaScript
56 строки
1.4 KiB
JavaScript
// Parent config file for all browser-chrome files.
|
|
module.exports = {
|
|
"rules": {
|
|
"mozilla/import-headjs-globals": "warn",
|
|
"mozilla/import-browserjs-globals": "warn",
|
|
"mozilla/import-test-globals": "warn",
|
|
"mozilla/mark-test-function-used": "warn",
|
|
},
|
|
|
|
"env": {
|
|
"browser": true,
|
|
//"node": true
|
|
},
|
|
|
|
// All globals made available in the test environment.
|
|
"globals": {
|
|
// `$` is defined in SimpleTest.js
|
|
"$": false,
|
|
"add_task": false,
|
|
"addLoadEvent": false,
|
|
"Assert": false,
|
|
"BrowserTestUtils": false,
|
|
"content": false,
|
|
"ContentTask": false,
|
|
"ContentTaskUtils": false,
|
|
"EventUtils": false,
|
|
"executeSoon": false,
|
|
"expectUncaughtException": false,
|
|
"export_assertions": false,
|
|
"extractJarToTmp": false,
|
|
"finish": false,
|
|
"getJar": false,
|
|
"getRootDirectory": false,
|
|
"getTestFilePath": false,
|
|
"gTestPath": false,
|
|
"info": false,
|
|
"ignoreAllUncaughtExceptions": false,
|
|
"is": false,
|
|
"isnot": false,
|
|
"ok": false,
|
|
"PromiseDebugging": false,
|
|
"privateNoteIntentionalCrash": false,
|
|
"registerCleanupFunction": false,
|
|
"requestLongerTimeout": false,
|
|
"SpecialPowers": false,
|
|
"TestUtils": false,
|
|
"thisTestLeaksUncaughtRejectionsAndShouldBeFixed": false,
|
|
"todo": false,
|
|
"todo_is": false,
|
|
"todo_isnot": false,
|
|
"waitForClipboard": false,
|
|
"waitForExplicitFinish": false,
|
|
"waitForFocus": false,
|
|
}
|
|
};
|