Closed Bug 1722691 Opened 3 years ago Closed 3 years ago

ESLint warnings do not appear in phabricator

Categories

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

Tracking

(firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(2 files)

Bug 1703664 recently enabled display of lint warnings in Phabricator. However, it doesn't work for ESLint.

This is due to the ESLint taskcluster configuration passing --quiet to ESLint, which quiets all warnings.

I believe this is a left-over from the early days when we didn't have warnings support in the Lint harness. Now we do, we can remove that option, and warnings will not show up as errors on the main CI, but they will show up on Phabricator

Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b4cc6d84515
Enable ESLint in CI to report warnings when required. r=marco
https://hg.mozilla.org/integration/autoland/rev/61f62fe3c2fa
Allow hooks to report the count of ESLint warnings as well as errors. r=marco
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: