Open languitar opened 2 years ago
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).
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.