Open
Bug 1806583
Opened 2 years ago
Updated 2 years ago
Flip prefer-const ESLint rule in newtab/
Categories
(Firefox :: Messaging System, enhancement, P3)
Firefox
Messaging System
Tracking
()
NEW
People
(Reporter: aminomancer, Assigned: emcminn)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(2 obsolete files)
There's a TODO comment in our ESLint rules to flip prefer-const to on (it's currently off). Most of the violators should be auto-fixable so this may not be too hard to switch on.
Here's the rule for reference
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → emcminn
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Attachment #9309394 -
Attachment description: WIP: Bug 1806583 - Turn on prefer-const for newtab eslint → Bug 1806583 - Turn on prefer-const for newtab eslint
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Iteration: --- → 110.2 - Dec 26 - Jan 6
Priority: -- → P1
Assignee | ||
Comment 3•2 years ago
|
||
Updated•2 years ago
|
Attachment #9310562 -
Attachment is obsolete: true
Updated•2 years ago
|
Attachment #9309394 -
Attachment is obsolete: true
Assignee | ||
Comment 4•2 years ago
|
||
We've had some discussion and it turns out there's not actually consensus on whether or not prefers-const
is desirable, and we'd like to avoid turning things on at the warning level.
We're going to put this on hold pending some decision on https://bugzilla.mozilla.org/show_bug.cgi?id=1803560 (a lot of the discussion can be viewed there) and then we can resolve this bug based on whichever rules are decided on to apply codebase-wide.
Reporter | ||
Updated•2 years ago
|
Blocks: fxms-build
You need to log in
before you can comment on or make changes to this bug.
Description
•