We have a linter that calls out to eslint to lint our javascript code. eslint has a --fix flag that can be used to auto-fix errors. arc lint also has the capacity to suggest fixes for errors, using a particular API call (or output format in our case, since we're using the pattern-and-file lint engine).
My quetsion is: is there a way to integrate eslint in a way that arc can take its fixing suggestions from eslint --fix? I guess the idea is that we'd run eslint --fix and have it emit the fixed code somewhere else, and do a diff, and then arc would suggest that diff.
Right now when we emit the control codes for arc auto-fixing, we do it on a lint-error-by-lint-error basis. I don't know if it's possible, or kosher, to do whole-file fixing suggestions like eslint wants to do.
I know that arcanist has a built-in jshint linter, but looking at the source it doesn't look like it does anything with the --fix flag either.