Closed Bug 1846356 Opened 2 years ago Closed 2 years ago

Convert remaining ESLint rules to use messageIds and data values rather than message strings

Categories

(Developer Infrastructure :: Lint and Formatting, task, P2)

Tracking

(firefox118 fixed)

RESOLVED FIXED
Tracking Status
firefox118 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

I originally started this in bug 1816783, and only just got around to completing the remainder.

Using messageIds and data values for ESLint's reporting makes it easier for tests as we don't need to repeat the whole message in the test. It also makes it clearer as to what data is being reported.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eb64b6f2de80 Convert remaining ESLint rules to use messageIds and data values rather than message strings. r=cmkm
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: