-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Make GitHub token optional #268
Conversation
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 confirm that it works without GitHub token.
@mandrasch, please also update this in two places (for the home and about page):
-parseInt(repoData.stargazers_count)
+parseInt(repoData.stargazers_count || 0)
because it showed NaN
.
And please run ddev npm run textlint:fix
on the repo.
I thought it would change the spaces around if(){}
(I see you prefer it without spaces, but other code has them), please make it the same.
Thx for feedback! Re: spaces / formatting Oh sorry, haven't had prettier autoFormatOnSave enabled in VSCode. This can be added in
Just formatted with prettier, but lot's of other changes in places I did not touch. Seems like https://prettier.io/docs/en/options.html#semicolons is not set correctly / files were not formatted before with prettier. Need to re-check in the following days. |
@stasadev api.ts was not formatted with prettier before. Should I re-format the whole file in this PR? Or just do my changes first? |
I see, given that we don't have formatting here, it would be nice to have one 🙂 Since there aren't too many changes in this PR, I don't mind if you add formatting for that file here, thanks! |
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.
Thank you!
Yes, formatting for the rest of the code, and linter check in GitHub Actions can be done later in another PR after this goes in.
@bmartinez287 please see if you like it. |
looks good, thanks for the PR. |
The Issue
#266
How This PR Solves The Issue
Manual Testing Instructions
ddev npm run build
Automated Testing Overview
Related Issue Link(s)
Release/Deployment Notes