Open Bug 1603139 Opened 5 years ago Updated 3 years ago

[wpt-sync] Sync PR 20724 - [lint] WIP non-functional implementation of wpt lint --fix

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

REOPENED

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 20724 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/20724
Details from upstream follow.

Simon Pieters <zcorpan@gmail.com> wrote:

[lint] WIP non-functional implementation of wpt lint --fix

See https://github.com/web-platform-tests/wpt/issues/20697

This currently only implements the --fix flag and calls a new
auto_fix_errors function, that currently only prints a message,
but could read the file into memory, apply changes, and write to file.


cc @stephenmcgruer

I'm opening this in its current state because I don't expect to be able to continue working on this right now. Hopefully this is of help if anyone else wants to take a stab at this!

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Severity: normal normal → S3 S3
You need to log in before you can comment on or make changes to this bug.