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

Suggest Code Style & Refactoring #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

phewphewb
Copy link
Contributor

@phewphewb phewphewb commented Mar 11, 2023

Hey guys, just a suggesting on code style and some refactoring

This code style aims to help with:

  • decreasing code nesting
  • keeping conditions in one function

NOTE: it needs testing, I have not tested it

@charle692
Copy link
Collaborator

The code changes look good to me, I feel we should wait on this until we can get the patch in for this rule and then we can update this and get it merged in?

As it is, the rule won't work 100% so getting the patch in first will allow us to test this properly and verify everything is good.

@asukakuwahara
Copy link
Collaborator

Yea code LGTM! Let me merge my changes and create a patch release first so we can test properly in that case 👍🏼

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.

3 participants