nscaife / linter-chktex

An Atom Linter plugin for LaTeX, using chktex
https://atom.io/packages/linter-chktex
MIT License
14 stars 10 forks source link

How do you get chktex to ignore certain things? #17

Closed eject-it closed 8 years ago

eject-it commented 8 years ago

\somethingORother

followed by a linebreak is actually valid synthax. While it is understandable that the machine can not understand everything there must be an option to tell it to shut up. I don't know if this is a problem with chktex-linter or the atom linter package in general. But other linter implementations seem to feature a dotfile with ignore lists.

jgoldfar commented 8 years ago

This is a limitation of chktex, which is configured through command line options or a "chktexrc" file. I recommend looking to the documentation https://www.ctan.org/pkg/chktex?lang=en to see details.

nscaife commented 8 years ago

You can use the "chktexArgs" configuration parameter to specify specific errors or warnings to ignore.