-
-
Notifications
You must be signed in to change notification settings - Fork 58
Upgrade Node and Add eslint #205
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
|
This will have some merge conflicts after the localization changes went in. Happy to review once they're sorted! |
2d52c9a to
d85548e
Compare
pnpm eslint src No current errors make sure ci is also running node 22
b849706 to
0d15653
Compare
|
I swear this was working fine before but updated now: Hopefully nothing else? |
| console.log("Language Change:", { | ||
| header: req.headers["accept-language"], | ||
| detected: req.language, | ||
| currentLanguage: currentLanguage, |
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.
eslint didn't like currentLanguage being defined and not used, so i just wrapped it in an env variable
plus bleh commented out code :)
raphaelkabo
left a comment
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.
Awesome work, thank you!
Mostly just deleting unused imports and variables
added some _ to some of the function parmaeters are not used
Upgrade node to 22
eslint fixed some var => const|let