Disable HHAST by default

it executes $PROJECT/vendor/bin/hhast, so that's not a good idea.
This commit is contained in:
Fred Emmott
2018-08-02 13:09:51 -07:00
parent de6cd961a8
commit a728f074f7
4 changed files with 13 additions and 1 deletions

View File

@@ -1,5 +1,14 @@
===============================================================================
ALE Hack Integration *ale-hack-options*
*ale-integration-hack*
HHAST is disabled by default, as it executes code in the project root.
Currently linters must be enabled globally. HHAST can be enabled with:
>
let g:ale_linters = {'hack': ['hack', 'hhast']}
<
===============================================================================
hack *ale-hack-hack*

View File

@@ -1214,6 +1214,7 @@ g:ale_linters *g:ale_linters*
{
\ 'csh': ['shell'],
\ 'go': ['gofmt', 'golint', 'go vet'],
\ 'hack': ['hack'],
\ 'help': [],
\ 'perl': ['perlcritic'],
\ 'python': ['flake8', 'mypy', 'pylint'],