Skip to content
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

Api Cleanup #664

Merged
merged 3 commits into from
Aug 14, 2023
Merged

Api Cleanup #664

merged 3 commits into from
Aug 14, 2023

Conversation

lowtorola
Copy link
Contributor

  • Changed API/Auth to be exported functions in separate files.
  • Accidentally changed ~5000 lines by running format (oopsie).

🚀

@lowtorola lowtorola changed the base branch from main to frontend2 August 11, 2023 01:00
@lowtorola
Copy link
Contributor Author

lowtorola commented Aug 11, 2023

halp @acrantel my lint seems to be broken😢

Copy link
Member

@acrantel acrantel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for doing this!

what command did you run that formatted all the autogenerated files? if it was npm run format or lint then we'll need to update the ignores in eslintrc.js and .prettierignore . it should be fairly straightforward, just put the path to the autogenerated folder in the ignore lists

we shouldn't commit the format changes to the autogenerated files, here is a stackoverflow solution for how to remove them from your pr: https://stackoverflow.com/a/39460058

frontend2/.gitignore Outdated Show resolved Hide resolved
Copy link
Member

@acrantel acrantel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! 🎉 :shipit:

@lowtorola lowtorola merged commit e99b71a into frontend2 Aug 14, 2023
3 checks passed
@lowtorola lowtorola deleted the api-cleanup branch August 14, 2023 22:47
acrantel pushed a commit that referenced this pull request Aug 15, 2023
Use functions for api, not static class methods 👍
acrantel pushed a commit that referenced this pull request Aug 15, 2023
Use functions for api, not static class methods 👍
acrantel pushed a commit that referenced this pull request Oct 3, 2023
Use functions for api, not static class methods 👍
acrantel pushed a commit that referenced this pull request Feb 8, 2024
Use functions for api, not static class methods 👍
acrantel pushed a commit that referenced this pull request Feb 8, 2024
Use functions for api, not static class methods 👍
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants