Create downloadable patch for ESLINT automated fixes

Migrated issue

Reported by: jonathan1055

Related to !91 (merged)

Problem/Motivation

ESLINT runs coding standards and prettier formatting checks on .js and .yml files. The results are written to the log along with a suggestion that some of these problems could be fixed by running the --fix option. This is fine for developers that can run eslint locally, but we could also generate a patch as a downloadable artifact, for those who want to apply the automated fixes but who do not have the means to run eslint on their local machine.

Proposed resolution

Run another eslint call, with the --fix command, then git diff to produce the changes, writing to a .patch file for downloading.

Proof of concept on module_filter mr 34

Related issue: Issue #3405485

Edited Feb 12, 2026 by drupalbot
Assignee Loading
Time tracking Loading