mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-09 21:12:31 +08:00
Linter addition of PHP Mess Detector
This commit is contained in:
14
doc/ale.txt
14
doc/ale.txt
@@ -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*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user