DEV Community

loading...

Discussion on: Getting started with Gitlab CI/CD: Eslint

Collapse
tomdohnal profile image
Tom Dohnal

How'd you go about running Eslint with autofix in the CI? :)

Collapse
karltaylor profile image
Karl Taylor Author

I'm not sure how this would work Tom, you would be auto-fixing in the CI runner which I think is just ephemeral. I guess you would need to figure how to run auto fix which would write to disk and commit them to git, which would technically run another CI build. Would be interesting to see it!