summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-04-09 19:22:14 +0100
committerGitHub <noreply@github.com>2018-04-09 19:22:14 +0100
commit697fd4ac75ac8a134d0e7e2f98898122982c41f8 (patch)
tree0f97cce26a6fa71d228422453cd4975aa8fc7800 /doc
parent719b790574b6aeb4fc3c956dfbcffa3c3987a668 (diff)
parent49c4bfde148dfb4925c79a2e93eb04311afcc904 (diff)
downloadale-697fd4ac75ac8a134d0e7e2f98898122982c41f8.zip
Merge pull request #1488 from languitar/pmd
Add support for the java PMD linter
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-java.txt14
-rw-r--r--doc/ale.txt3
2 files changed, 16 insertions, 1 deletions
diff --git a/doc/ale-java.txt b/doc/ale-java.txt
index 3837f6c6..4481e823 100644
--- a/doc/ale-java.txt
+++ b/doc/ale-java.txt
@@ -61,5 +61,19 @@ g:ale_java_google_java_format_options *g:ale_java_google_java_format_options*
This variable can be set to pass additional options
+
+===============================================================================
+pmd *ale-java-pmd*
+
+g:ale_java_pmd_options *g:ale_java_pmd_options*
+ *b:ale_java_pmd_options*
+
+ Type: String
+ Default: '-R category/java/bestpractices'
+
+ This variable can be changed to modify flags given to PMD. Do not specify -f
+ and -d. They are added automatically.
+
+
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
diff --git a/doc/ale.txt b/doc/ale.txt
index c051a86f..0757101e 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -106,6 +106,7 @@ CONTENTS *ale-contents*
checkstyle..........................|ale-java-checkstyle|
javac...............................|ale-java-javac|
google-java-format..................|ale-java-google-java-format|
+ pmd.................................|ale-java-pmd|
javascript............................|ale-javascript-options|
eslint..............................|ale-javascript-eslint|
flow................................|ale-javascript-flow|
@@ -343,7 +344,7 @@ Notes:
* Haskell: `brittany`, `ghc`, `stack-ghc`, `stack-build`!!, `ghc-mod`, `stack-ghc-mod`, `hlint`, `hdevtools`, `hfmt`
* HTML: `alex`!!, `HTMLHint`, `proselint`, `tidy`, `write-good`
* Idris: `idris`
-* Java: `checkstyle`, `javac`, `google-java-format`
+* Java: `checkstyle`, `javac`, `google-java-format`, `PMD`
* JavaScript: `eslint`, `flow`, `jscs`, `jshint`, `prettier`, `prettier-eslint`, `prettier-standard`, `standard`, `xo`
* JSON: `fixjson`, `jsonlint`, `jq`, `prettier`
* Kotlin: `kotlinc`, `ktlint`