Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Administration, Rules, Tuning
-
Labels:None
-
Environment:Any
Description
It is currently possible to add new rule profiles, by placing checkstyle and pmd config files in "sonar_web/rules_profiles/profilename" directory.
However, in order to add rule extensions one has to add them by hand, then has to configure them by hand which is quite "annoying" when having multipl rules with regular expressions to add.
It would be thus great if it was possible to extract information from checkstyle-metadata.xml to automatically create these rules extensions. Most of needed information is there.
contact me if you need more information.
Michel
Do you know where I can find some documentation on this checkstyle-cs format ? It should manage the following fields :
Thank you
- the name
- the description
- the ISO category
- the parameters and their default values
- the key used by checkstyle.
Thank you