Closed
Bug 1907841
Opened 2 months ago
Closed 2 months ago
Change ESLint's .eslintignore to be an imported module
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox130 fixed)
RESOLVED
FIXED
130 Branch
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
ESLint's flat configuration does not support .eslintignore
, and requires that ignore file patterns are listed in an array.
For the current configuration, we're already managing some ignores by importing them into an array.
As I'm currently experimenting with the flat configuration, I'd like to change .eslintignore
to be a common JS module that is an array of entries. When we finally transition to the flat configuration, we'll be able to easily change that to an ES module.
In the experimentation phase, it will help to avoid bitrot as it will be in array format, and there will be minimal changes required to convert it to an ES module.
Assignee | ||
Comment 1•2 months ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/17f320b7f932 Change ESLint's .eslintignore to be an imported module. r=frontend-codestyle-reviewers,zeid,devtools-reviewers,nchevobbe
Status: NEW → RESOLVED
Closed: 2 months ago
status-firefox130:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•