[doc] Generate a "all rules with default properties" ruleset per lang…#4208
[doc] Generate a "all rules with default properties" ruleset per lang…#4208adangel wants to merge 1 commit into
Conversation
Generated by 🚫 Danger |
|
The way I understand the ticket #4187, it's about rendering an arbitrary user ruleset in a fully explicit form, to show how PMD understands it. I imagine a A utility to explicitize rulesets could technically also be used to implement the same thing you do in this PR ( |
|
Let's move this for now at least to 6.53.0 - I won't have time to continue working on this. Agreed - it won't fix the original issue (#4187) - that's why these are not linked. It could serve as a viable workaround. Not sure if it's worth continuing this path. However, you only get feedback, once it's out there. We could create it in 6.53.0 as experimental and remove it again in 6.54.0 if we get negative feedback or no feedback at all... |
|
I'm closing this as won't fix. We should consider a solution together with #4295 after PMD 7 is out. |
…uage
Describe the PR
This generates for each language a sample ruleset file, which contains all rules with their properties and their default values explicitly mentioned.
This generated ruleset can be a useful basis to create a custom ruleset.
Sample generated ruleset for java
TODO:
Note:
Ready?
./mvnw clean verifypasses (checked automatically by github actions)