Age | Commit message (Collapse) | Author |
|
The executable for the Alex linter is currently hard-coded as 'alex',
which is an issue given the fact that it conflicts with the Haskell
lexer generator, whose executable is also called 'alex', has been around
a dozen years before the linter, and is packaged in the official
repositories of the major Linux distributions.
This commit adds options to use a local executable for the alex linter
(which is a node package), and an option to set a custom executable.
As side changes:
* The pattern in the alex handler is made more readable by turnig it
into a very-magic regex.
* Alex handles plain text, markdown, and HTML. Specific flags for HTML
and markdown are provided when instantiating the linters for the
respective filetypes, while before those formats were treated as plain
text.
|
|
|
|
|
|
This PR adds additional check to lacheck linter to exclude any warnings
related to sourced files via latex \input{} command.
Closes: #368
|
|
* The project style linter now runs while you type.
* Now the scripts for checking the project require blank lines.
* Many style issues have been found and fixed.
|
|
|
|
|
|
|
|
alex does not find its configuration file when using temporary files for
input.
|
|
* Enable the vale linter also for LaTeX
* Enable the vale linter for rst files
|
|
https://github.com/wooorm/alex
Enabled for text-like file formats and documented in README and doc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* proselint: Add more suported filetypes
* proselint: Minor consistency fixes
* Vim help: Disable linters by default
|
|
convenience
|
|
|
|
* Add chktex linter
* Alias plaintex to tex
* Add lacheck linter
Closes #179
* Add the chktex warning code
This very useful to have when you want to suppress lint warnings with LaTeX
comments. chktex tends to be a bit noisy so this often needed.
* lacheck: Make regex less specific
To be more robust future changes in `stdin-wrapper`
|
|
* Add Proselint
- Markdown
- Tex
- Text
* Use ale#handler#HandleUnixFormatAsWarning
* Indentation
|