diff --git a/README.md b/README.md index 436d9c0c..61518121 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ name. That seems to be the fairest way to arrange this table. | JavaScript | [eslint](http://eslint.org/), [jscs](http://jscs.info/), [jshint](http://jshint.com/), [FlowType](https://flowtype.org/) | | JSON | [jsonlint](http://zaa.ch/jsonlint/) | | Lua | [luacheck](https://github.com/mpeterv/luacheck) | -| Markdown | [mdl](https://github.com/mivok/markdownlint) | +| Markdown | [mdl](https://github.com/mivok/markdownlint), [proselint](http://proselint.com/)| | MATLAB | [mlint](https://www.mathworks.com/help/matlab/ref/mlint.html) | | OCaml | [merlin](https://github.com/the-lambda-church/merlin) see `:help ale-integration-ocaml-merlin` for configuration instructions | Perl | [perl -c](https://perl.org/), [perl-critic](https://metacpan.org/pod/Perl::Critic) | @@ -77,6 +77,8 @@ name. That seems to be the fairest way to arrange this table. | SASS | [sass-lint](https://www.npmjs.com/package/sass-lint) | | SCSS | [sass-lint](https://www.npmjs.com/package/sass-lint), [scss-lint](https://github.com/brigade/scss-lint) | | Scala | [scalac](http://scala-lang.org) | +| Tex | [proselint](http://proselint.com/) | +| Text | [proselint](http://proselint.com/) | | TypeScript | [tslint](https://github.com/palantir/tslint), typecheck | | Verilog | [iverilog](https://github.com/steveicarus/iverilog), [verilator](http://www.veripool.org/projects/verilator/wiki/Intro) | | Vim | [vint](https://github.com/Kuniwak/vint) | diff --git a/ale_linters/markdown/proselint.vim b/ale_linters/markdown/proselint.vim new file mode 100644 index 00000000..fd2155f7 --- /dev/null +++ b/ale_linters/markdown/proselint.vim @@ -0,0 +1,9 @@ +" Author: poohzrn https://github.com/poohzrn +" Description: proselint for markdown files + +call ale#linter#Define('markdown', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': g:ale#util#stdin_wrapper . ' .md proselint', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) diff --git a/ale_linters/tex/proselint.vim b/ale_linters/tex/proselint.vim new file mode 100644 index 00000000..d175c88c --- /dev/null +++ b/ale_linters/tex/proselint.vim @@ -0,0 +1,9 @@ +" Author: poohzrn https://github.com/poohzrn +" Description: proselint for tex files + +call ale#linter#Define('tex', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': g:ale#util#stdin_wrapper . ' .tex proselint', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) diff --git a/ale_linters/text/proselint.vim b/ale_linters/text/proselint.vim new file mode 100644 index 00000000..4a55dec4 --- /dev/null +++ b/ale_linters/text/proselint.vim @@ -0,0 +1,8 @@ +" Author: poohzrn https://github.com/poohzrn +" Description: proselint for text files + +call ale#linter#Define('text', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\})