How to create PMD custom rule in ruleset?
I am damm confusing开发者_StackOverflow社区 to create a new PMD rule in ruleset! can anyone guide me to the approach to do so? thanks in advance!
Where do you have a problem, in the official documentation?
- http://pmd.sourceforge.net/howtowritearule.html
- http://pmd.sourceforge.net/howtomakearuleset.html
You can use the designer to write own rules. Below articles might help you.
https://www.javacodegeeks.com/2012/10/customize-pmd-in-eclipse-with-your-own.html
https://pmd.github.io/latest/pmd_userdocs_extending_designer_reference.html
精彩评论