diff options
author | Fred Emmott <fe@fb.com> | 2018-08-02 13:09:51 -0700 |
---|---|---|
committer | Fred Emmott <fe@fb.com> | 2018-08-02 13:50:56 -0700 |
commit | a728f074f727ad9aac0d6947f7b81d26078c0fb6 (patch) | |
tree | 23183f735de3a9cb1ca99e9fe212af16a68605df /doc | |
parent | de6cd961a83674ef1a73d4c4e9a1b9ccc73ec941 (diff) | |
download | ale-a728f074f727ad9aac0d6947f7b81d26078c0fb6.zip |
Disable HHAST by default
it executes $PROJECT/vendor/bin/hhast, so that's not a good idea.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-hack.txt | 9 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/ale-hack.txt b/doc/ale-hack.txt index a8027424..4776b8cf 100644 --- a/doc/ale-hack.txt +++ b/doc/ale-hack.txt @@ -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* diff --git a/doc/ale.txt b/doc/ale.txt index b60c3da0..c360d3bd 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -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'], |