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

Update to use atom-linter 2.0 API #45

Closed SiriusStarr closed 5 years ago

SiriusStarr commented 5 years ago

atom-linter 2.3.0 completely removed the 1.0 API that linter-chktex was dependent on. This commit updates linter-chktex to provide a linter compliant with the modern 2.0 API, restoring function, by making the following changes:

Updated package.json to provide 2.0 linter.

Updated "lintOnFly" to "lintsOnChange" per 2.0 requirements.

Updated returned message structure to comply with 2.0 format.

Removed HTML in message format, since it (sadly) doesn't seem to be supported anymore.

nscaife commented 5 years ago

Looks good to me, thanks!