-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Bug fix 1698 #1704
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
Bug fix 1698 #1704
Conversation
|
🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. |
|
Thanks for working on this! When I run |
|
I don't know how to fix those warnings in this PR. I think I will create a new PR. |
|
Upon looking at this closely, I think a lot of the changes you made in 47d144a make sense, but a lot of the changes you made in 12259e2 are unrelated to the line length and aren't necessary. In fact, these changes make your PR difficult to review. Would it be possible for you to change stuff that's only coming up in the lint warnings? It seems like you're using another linting configuration to make changes that are unnecessary. |
|
That makes sense! Maybe the thing to do here is to add a prettier configuration to the project, which would help out with some of these errors (I believe there's an open issue about this? #1242) I'm happy to help with that. I do think it makes sense to remove "X is assigned a value but never used"—usually they end up removing dead code. |
|
What should I do now?? Should I reformat all the remaining files using prettier eslint and add a config file?? or should I undo my second commit and make changes again without using the prettier eslint extension?? Please guide me. |
I think you should undo the second commit and leave the rest for now. I'm going to investigate setting up prettier with eslint for this project in the very near future since it's been coming up a lot! |
|
I spend some hours on the internet but still couldn't find the best way to undo a git commit. I am confused between git reset --hard and git rebase drop. Some suggested not to rewrite the history using git rebase and some suggested not to use git reset as I have to push forcefully. Sorry if I am taking too much time for this simple issue but I am confused once again. |
Both of these options would lead to rewriting history on your branch, and require force pushing. To get some visual intuition about what One very safe option if you're still unsure about how to navigate this would be to make a new branch off the latest |
|
@hydrosquall thank you |
|
Thank you for working on this! Ended up fixing this via #1744 since there hadn't been any updates on here. |

RE: #1698
I have verified that this pull request:
npm run lint)developbranch. (If I was asked to make more changes, I have made sure to rebase ontodevelopthen too)Fixes #1698