Add Sorbet ruby linter and fixer (#2614)

This commit is contained in:
Matthew Lanigan
2019-07-13 12:37:48 -04:00
committed by w0rp
parent 6c47d7fc35
commit abb38955d3
9 changed files with 139 additions and 0 deletions

View File

@@ -129,6 +129,26 @@ g:ale_ruby_solargraph_executable *g:ale_ruby_solargraph_executable*
from binstubs or a bundle.
===============================================================================
sorbet *ale-ruby-sorbet*
g:ale_ruby_sorbet_executable *g:ale_ruby_sorbet_executable*
*b:ale_ruby_sorbet_executable*
Type: String
Default: `'srb'`
Override the invoked sorbet binary. Set this to `'bundle'` to invoke
`'bundle` `exec` srb'.
g:ale_ruby_sorbet_options *g:ale_ruby_sorbet_options*
*b:ale_ruby_sorbet_options*
Type: |String|
Default: `''`
This variable can be change to modify flags given to sorbet.
===============================================================================
standardrb *ale-ruby-standardrb*

View File

@@ -392,6 +392,7 @@ Notes:
* `ruby`
* `rufo`
* `solargraph`
* `sorbet`
* `standardrb`
* Rust
* `cargo`!!

View File

@@ -2220,6 +2220,7 @@ documented in additional help files.
ruby..................................|ale-ruby-ruby|
rufo..................................|ale-ruby-rufo|
solargraph............................|ale-ruby-solargraph|
sorbet................................|ale-ruby-sorbet|
standardrb............................|ale-ruby-standardrb|
rust....................................|ale-rust-options|
cargo.................................|ale-rust-cargo|