From 36898436b53f8f7df7790ce3ce0681cfd4c9bdb6 Mon Sep 17 00:00:00 2001 From: Sam Howie Date: Thu, 26 Oct 2017 16:11:02 -0700 Subject: Add hackfmt fixer --- doc/ale-php.txt | 11 +++++++++++ doc/ale.txt | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ale-php.txt b/doc/ale-php.txt index 8756d60e..f09c95fd 100644 --- a/doc/ale-php.txt +++ b/doc/ale-php.txt @@ -8,6 +8,17 @@ hack *ale-php-hack* There are no options for this linter. +=============================================================================== +hackfmt *ale-php-hackfmt* + +g:ale_php_hackfmt_options *g:ale_php_hackfmt_options* + *b:ale_php_hackfmt_options* + Type: |String| + Default: `''` + + This variable can be set to pass additional options to the hackfmt fixer. + + =============================================================================== langserver *ale-php-langserver* diff --git a/doc/ale.txt b/doc/ale.txt index fb5a6348..c90ab1d7 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -125,6 +125,7 @@ CONTENTS *ale-contents* perlcritic..........................|ale-perl-perlcritic| php...................................|ale-php-options| hack................................|ale-php-hack| + hackfmt.............................|ale-php-hackfmt| langserver..........................|ale-php-langserver| phan................................|ale-php-phan| phpcbf..............................|ale-php-phpcbf| @@ -301,7 +302,7 @@ Notes: * Objective-C++: `clang` * OCaml: `merlin` (see |ale-ocaml-merlin|) * Perl: `perl -c`, `perl-critic` -* PHP: `hack`, `langserver`, `phan`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf` +* PHP: `hack`, `hackfmt`, `langserver`, `phan`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf` * Pod: `proselint`, `write-good` * Pug: `pug-lint` * Puppet: `puppet`, `puppet-lint` -- cgit v1.2.3