rubocop/rubocop

Add styleGuideUrl property to offense when using --display-style-guide and --format=json flags

Offen

#7.201 geöffnet am 09.07.2019

 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Ruby (3.103 Forks)batch import
feature requestgood first issue

Repository-Metriken

Stars
 (12.857 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T 8h) (158 gemergte PRs in 30 T)

Beschreibung

Is your feature request related to a problem? Please describe.

It is very hard to get the display guide URL from the message, you are forced to parse it (e.g: using regex) which seems very fragile.

Describe the solution you'd like

Add a property like styleGuideUrl (or whatever) when use --display-style-guide and --format=json, by this way it should very easy to get and use it (e.g: with editor integrations)

Contributor Guide