-
Notifications
You must be signed in to change notification settings - Fork 887
refactor: Fix front-end lint issues #347
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
Conversation
const onCancel = useCallback(async () => { | ||
await push(`/projects/${organization}/${projectName}`) | ||
}, [push, organization, projectName]) |
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.
This had to be moved before the early-return because hooks always have to be called consistently and in a consistent order.
Codecov Report
@@ Coverage Diff @@
## main #347 +/- ##
==========================================
+ Coverage 67.64% 67.86% +0.22%
==========================================
Files 147 147
Lines 7930 7905 -25
Branches 77 72 -5
==========================================
+ Hits 5364 5365 +1
+ Misses 2023 1998 -25
+ Partials 543 542 -1
Continue to review full report at Codecov.
|
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.
Nice cleanup!
Noticed while running through the build steps (
make build
) that we were getting some lint warnings that weren't blocking build:It turns out our ESLint config wasn't being picked up, so I fixed that (it wasn't properly named). This PR turns warnings-as-errors on, fixes the issues, and also removes the "Project Create" page, because it isn't used at this time.
Wanted to clean this up before on-boarding more FE developers