Bug 1769569 - Enable ESLint rule no-define-cc-etc for devtools sjs files. r=jdescottes

Differential Revision: https://phabricator.services.mozilla.com/D146449
This commit is contained in:
Mark Banner 2022-05-18 08:13:18 +00:00
Родитель 66a1be75ae
Коммит 3b0258336e
3 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -110,6 +110,7 @@ module.exports = {
excludedFiles: [
// Enable the rule on JSM, test head files and some specific files.
"**/*.jsm",
"**/*.sjs",
"**/test/**/head.js",
"**/test/**/shared-head.js",
"client/debugger/test/mochitest/code_frame-script.js",

Просмотреть файл

@ -1,8 +1,5 @@
"use strict";
const Cc = Components.classes;
const Ci = Components.interfaces;
let timer;
const DELAY_MS = 2000;

Просмотреть файл

@ -1,8 +1,5 @@
"use strict";
const Cc = Components.classes;
const Ci = Components.interfaces;
let timer;
const DELAY_MS = 10000;