Bug 1881701 - Move ESLint ignores and test paths to be module files as well. r=frontend-codestyle-reviewers,devtools-reviewers,Gijs,nchevobbe

This completes the moving of all the top-level configuration files to be ES modules, and named similarily.

Differential Revision: https://phabricator.services.mozilla.com/D250403
This commit is contained in:
Mark Banner
2025-05-24 17:08:35 +00:00
committed by mbanner@mozilla.com
parent 05fa2d5325
commit 8bf730ccd9
7 changed files with 14 additions and 18 deletions

View File

@@ -80,7 +80,7 @@ You should see errors and warnings in the gutter as shown in the screenshot belo
(when (string-match "^\\([a-z]+_\\)" base)
(setq-local flycheck-temp-prefix (match-string 1 base))))
(let ((base-dir (locate-dominating-file (buffer-file-name)
".eslintrc-ignores.js")))
"eslint-ignores.config.mjs")))
(when base-dir
(let ((eslint (expand-file-name
"tools/lint/eslint/node_modules/.bin/eslint" base-dir)))