commit 6d03e362a133a5db3e194b1bb95c247e641932d3
parent b53ca0d0f00bd8b1bfa0369dcc5a557f487c5dfc
Author: Gijs Kruitbosch <gijskruitbosch@gmail.com>
Date: Fri, 31 Oct 2025 13:58:27 +0000
Bug 1997568 - improve comments in eslint-test-paths.config.mjs to be more instructive about not using the exception lists, r=mossop,frontend-codestyle-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D270841
Diffstat:
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/eslint-test-paths.config.mjs b/eslint-test-paths.config.mjs
@@ -39,9 +39,8 @@ const xpcshellTestPaths = [
"**/test*/xpcshell/**/",
];
-// NOTE: Before adding to the list below, please see the note at the top
+// DO NOT add more items to this list. Please see the note at the top
// of the file.
-
const extraXpcshellTestPaths = [
"devtools/client/shared/remote-debugging/adb/xpcshell/",
"devtools/platform/tests/xpcshell/",
@@ -71,9 +70,8 @@ const extraXpcshellTestPaths = [
"widget/headless/tests/",
];
-// NOTE: Before adding to the list below, please see the note at the top
+// DO NOT add more items to this list. Please see the note at the top
// of the file.
-
const extraBrowserTestPaths = [
"dom/ipc/tests/",
"toolkit/components/thumbnails/test/",
@@ -222,9 +220,8 @@ const extraBrowserTestPaths = [
"uriloader/exthandler/tests/mochitest/",
];
-// NOTE: Before adding to the list below, please see the note at the top
+// DO NOT add more items to this list. Please see the note at the top
// of the file.
-
const extraChromeTestPaths = [
"devtools/shared/security/tests/chrome/",
"devtools/shared/webconsole/test/chrome/",
@@ -271,9 +268,8 @@ const extraChromeTestPaths = [
"xpfe/appshell/test/",
];
-// NOTE: Before adding to the list below, please see the note at the top
+// DO NOT add more items to this list. Please see the note at the top
// of the file.
-
const extraMochitestTestPaths = [
"dom/ipc/tests/",
"toolkit/xre/test/",