Closed
Bug 1846758
Opened 1 years ago
Closed 1 years ago
Automatically mark *.worker.(m)js files as belonging to the worker environment
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox118 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
To aid developers and simplify ESLint, I think we should add a convention whereby *.worker.(m)js
files are automatically marked as belonging to the ESLint worker environment, and disable the browser environment.
This will help to highlight the files that are really workers, and also give ESLint a tool to mark these as workers, without using /* eslint-env worker/*
markers.
Assignee | ||
Comment 1•1 years ago
|
||
Assignee | ||
Comment 2•1 years ago
|
||
Depends on D185321
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8f69a9799b27
Automatically mark *.worker.?js files as belonging to the worker environment. r=Gijs
https://hg.mozilla.org/integration/autoland/rev/d6b43a001c3c
Change ESLint env inclusions from mozilla/chrome-worker to worker where ctypes is not used. r=Gijs,devtools-reviewers
Comment 4•1 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•