Fix #229 Disable text linters by default
This commit is contained in:
parent
771bfe3b18
commit
cd6d8f2ab6
3 changed files with 8 additions and 2 deletions
|
@ -82,13 +82,14 @@ name. That seems to be the fairest way to arrange this table.
|
|||
| Scala | [scalac](http://scala-lang.org) |
|
||||
| Swift | [swiftlint](https://swift.org/) |
|
||||
| Tex | [proselint](http://proselint.com/) |
|
||||
| Text | [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) |
|
||||
| YAML | [yamllint](https://yamllint.readthedocs.io/) |
|
||||
|
||||
*^ Supported only on Unix machines via a wrapper script.*
|
||||
* *^ Supported only on Unix machines via a wrapper script.*
|
||||
* *^^ No text linters are enabled by default.*
|
||||
|
||||
If you would like to see support for more languages and tools, please
|
||||
[create an issue](https://github.com/w0rp/ale/issues)
|
||||
|
|
|
@ -15,9 +15,12 @@ let s:default_ale_linter_aliases = {
|
|||
|
||||
" Default linters to run for particular filetypes.
|
||||
" The user defined linter selections will be merged with this Dictionary.
|
||||
"
|
||||
" No linters are used for plaintext files by default.
|
||||
let s:default_ale_linters = {
|
||||
\ 'zsh': ['shell'],
|
||||
\ 'csh': ['shell'],
|
||||
\ 'text': [],
|
||||
\}
|
||||
|
||||
" Testing/debugging helper to unload all linters.
|
||||
|
|
|
@ -93,6 +93,8 @@ The following languages and tools are supported.
|
|||
* SCSS: 'sasslint', 'scsslint', 'stylelint'
|
||||
* Scala: 'scalac'
|
||||
* Swift: 'swiftlint'
|
||||
* Tex: 'proselint'
|
||||
* Text: 'proselint'
|
||||
* TypeScript: 'tslint', 'typecheck'
|
||||
* Verilog: 'iverilog', 'verilator'
|
||||
* Vim: 'vint'
|
||||
|
|
Reference in a new issue