Linter addition of PHP Mess Detector

This commit is contained in:
medains
2017-02-01 16:09:33 +00:00
parent 512b6e00d9
commit ff096124c6
3 changed files with 55 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ CONTENTS *ale-contents*
4.23. python-mypy.....................|ale-linter-options-python-mypy|
4.24. python-pylint...................|ale-linter-options-python-pylint|
4.25. erlang..........................|ale-linter-options-erlang|
4.26. phpmd...........................|ale-linter-options-phpmd|
5. Linter Integration Notes.............|ale-linter-integration|
5.1. merlin..........................|ale-linter-integration-ocaml-merlin|
5.2. rust.............................|ale-integration-rust|
@@ -93,7 +94,7 @@ The following languages and tools are supported.
* MATLAB: 'mlint'
* OCaml: 'merlin' (see |ale-linter-integration-ocaml-merlin|)
* Perl: 'perl' (-c flag), 'perlcritic'
* PHP: 'hack', 'php' (-l flag), 'phpcs'
* PHP: 'hack', 'php' (-l flag), 'phpcs', 'phpmd'
* Pug: 'pug-lint'
* Puppet: 'puppet', 'puppet-lint'
* Python: 'flake8', 'mypy', 'pylint'
@@ -880,6 +881,17 @@ g:ale_erlang_erlc_options *g:ale_erlang_erlc_options*
This variable controls additional parameters passed to `erlc`, such as `-I`
or `-pa`.
------------------------------------------------------------------------------
4.26. phpmd *ale-linter-options-phpmd*
g:ale_php_phpmd_ruleset *g:ale_php_phpmd_ruleset*
Type: |String|
Default: 'cleancode,codesize,controversial,design,naming,unusedcode'
This variable controls the ruleset used by phpmd. Default is to use all of
the available phpmd rulesets
===============================================================================
5. Linter Integration Notes *ale-linter-integration*