Ability to ignore the format command exit code
ktlint for kotlin can do auto-formatting. But after formatting it always also performs linting. If errors remain after formatting, the exit code will be != 0. I would need an option to ignore this non-zero exit code for formatting to make ktlint formatting functional.
I have the same case scenario with phpcbf, I used || true to ignore error code
format-command: './vendor/bin/phpcbf - || true'
The efmls-configs for standard js has the same issue (js_standard.lua).
There's a lint-ignore-exit-code configuration.
Implementing similar configuration for formatting seems straightforward.
I created https://github.com/mattn/efm-langserver/pull/285 to address this.