Open Bug 1560186 Opened 5 years ago Updated 1 year ago

[meta] Turn on Prettier for html files

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(Not tracked)

People

(Reporter: vporof, Unassigned)

References

(Blocks 3 open bugs)

Details

(Keywords: meta)

At the moment, running Prettier through Eslint on markup files fails with the following:

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

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

We should investigate and fix this problem, to actually turn Prettier on for these files as well.

Summary: Prettier can't parse html files → Turn on Prettier for html files
Depends on: 1578564
Blocks: 1596159
Blocks: 1596163
Blocks: 1596185

We should probably do bug 1620556 before we do this, as it'll save some additional blame churn/changes.

Depends on: 1620556
Depends on: 1626275
Depends on: 1626300
Keywords: meta
Summary: Turn on Prettier for html files → [meta] Turn on Prettier for html files
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3
Depends on: 1826063
No longer blocks: prettier-format
See Also: → prettier-format

Prettier format was an original blocker to this, as this was a follow-up. I don't see that we need to re-arrange it, nor that there is a general need to go and fix old dependencies unless they are misleading for the remaining work.

Depends on: prettier-format
See Also: prettier-format
You need to log in before you can comment on or make changes to this bug.