SonarTsPlugin icon indicating copy to clipboard operation
SonarTsPlugin copied to clipboard

I found html description for TS Rules

Open NikitaEgorov opened this issue 8 years ago • 1 comments

https://github.com/groupe-sii/sonar-web-frontend-plugin/tree/sonar-4.5.x/sonar-web-frontend-typescript/src/main/resources/rules/tslint

@Pablissimo please show me example how add html description in current Rule model. After it I try to add other descriptions

NikitaEgorov avatar Aug 09 '16 19:08 NikitaEgorov

I'd not lift their descriptions without asking permission, but we would also need to make a change to support reading HTML files for rule descriptions from disk either way. Easiest option is probably to look for an appropriately-named HTML file when parsing rules and read the contents in if found, but it's not clear how that would work with custom rules/rules unknown to the plugin.

Pablissimo avatar Aug 14 '16 16:08 Pablissimo