summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohannes Wienke <languitar@semipol.de>2018-04-09 17:45:08 +0200
committerJohannes Wienke <languitar@semipol.de>2018-04-09 17:48:00 +0200
commit49c4bfde148dfb4925c79a2e93eb04311afcc904 (patch)
tree55a216f1543e2c3b003bfd8c9ddb80902b89908d /doc
parent2f2dcb84444f440ceb4b35010b861738216525f6 (diff)
downloadale-49c4bfde148dfb4925c79a2e93eb04311afcc904.zip
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 0d3053e2..3f4a4299 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`