Closed Bug 1578564 Opened 5 years ago Closed 5 years ago

Work around prettier configuration issue for html files

Categories

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

Tracking

(firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Per bug 1560186 we currently get an error if we enable HTML for prettier:

An error occurred running eslint. Please check the following error messages:

{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }.

At the moment, we're waiting for eslint-plugin-prettier to update to include the fix for it.

In the meantime, I've found a workaround that should get us going.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/16d4fc4754b6 Workaround a prettier warning so that we can run it on html/xhtml files. r=vporof
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
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: