-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add grade badge for [lgtm] #1681
Conversation
Generated by 🚫 dangerJS |
(Side note: I wasn't sure whether to include the language as part of the badge name or value, for consistency with the rest of the badges, i thought it would make more sense for it to also be in the value, but i'm open to suggestions) |
@chris48s i like your first solution actually, I've made those changes, also lower-cased the languages now that they're part of the label and that feels more consistent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I think this is good to merge
Hmm, I see what you mean. Looking at the other badges that provide grades, it seems like "code quality" is the phrase to use here, so let's go with that. Dropping the service name probably also makes sense too. I like the I also realised i forgot to add the new badge to the homepage, so i've done that now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes, looks good!
👍
We've just launched project grades on lgtm: https://discuss.lgtm.com/t/announcing-project-grades-on-lgtm-com/1003
And this PR uses this data (that's exposed over the API) to add a new lgtm badge that displays the grade for a particular language.
EG:
Added new tests as appropriate.