Add Proselint (#185)
* Add Proselint - Markdown - Tex - Text * Use ale#handler#HandleUnixFormatAsWarning * Indentation
This commit is contained in:
parent
e03df80a09
commit
900b4cdff3
@ -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) |
|
||||
|
9
ale_linters/markdown/proselint.vim
Normal file
9
ale_linters/markdown/proselint.vim
Normal file
@ -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',
|
||||
\})
|
9
ale_linters/tex/proselint.vim
Normal file
9
ale_linters/tex/proselint.vim
Normal file
@ -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',
|
||||
\})
|
8
ale_linters/text/proselint.vim
Normal file
8
ale_linters/text/proselint.vim
Normal file
@ -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',
|
||||
\})
|
Loading…
Reference in New Issue
Block a user