mirror of https://github.com/dense-analysis/ale
Merge pull request #1044 from sumnerevans/mail-linters
#955 Add vale linter for mail files
This commit is contained in:
commit
94bdabb8c3
|
@ -109,7 +109,7 @@ formatting.
|
|||
| LaTeX | [chktex](http://www.nongnu.org/chktex/), [lacheck](https://www.ctan.org/pkg/lacheck), [proselint](http://proselint.com/), [write-good](https://github.com/btford/write-good) |
|
||||
| LLVM | [llc](https://llvm.org/docs/CommandGuide/llc.html) |
|
||||
| Lua | [luacheck](https://github.com/mpeterv/luacheck) |
|
||||
| Mail | [proselint](http://proselint.com/) |
|
||||
| Mail | [proselint](http://proselint.com/), [vale](https://github.com/ValeLint/vale) |
|
||||
| Make | [checkmake](https://github.com/mrtazz/checkmake) |
|
||||
| Markdown | [mdl](https://github.com/mivok/markdownlint), [proselint](http://proselint.com/), [vale](https://github.com/ValeLint/vale), [remark-lint](https://github.com/wooorm/remark-lint) !!, [write-good](https://github.com/btford/write-good) |
|
||||
| MATLAB | [mlint](https://www.mathworks.com/help/matlab/ref/mlint.html) |
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
" Author: chew-z https://github.com/chew-z
|
||||
" Description: vale for Markdown files
|
||||
|
||||
call ale#linter#Define('mail', {
|
||||
\ 'name': 'vale',
|
||||
\ 'executable': 'vale',
|
||||
\ 'command': 'vale --output=line %t',
|
||||
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
||||
\})
|
|
@ -288,7 +288,7 @@ Notes:
|
|||
* LaTeX (tex): `chktex`, `lacheck`, `proselint`, `write-good`
|
||||
* LLVM: `llc`
|
||||
* Lua: `luacheck`
|
||||
* Mail: `proselint`
|
||||
* Mail: `proselint`, `vale`
|
||||
* Make: `checkmake`
|
||||
* Markdown: `mdl`, `proselint`, `vale`, `remark-lint`, `write-good`
|
||||
* MATLAB: `mlint`
|
||||
|
|
Loading…
Reference in New Issue