mirror of
https://github.com/dense-analysis/ale.git
synced 2026-07-29 19:26:46 +08:00
Using -v0 works out of the box, but chktex grabs the "v0 format" from
its configuration file:
OutFormat
{
# -v0; silent mode
%f%b%l%b%c%b%n%b%m!n
# -v1; normal mode
...
}
Should the user modify the definition of v0, then the linter would no
longer work. We therefore use "--format" to force the output format.
Also grab the error code so it is correctly displayed.
Closes: #3856