Skip to content

Conversation

@halkeye
Copy link
Contributor

@halkeye halkeye commented Apr 30, 2025

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

@lowercasename
Copy link
Owner

This will have some merge conflicts after the localization changes went in. Happy to review once they're sorted!

@halkeye halkeye force-pushed the add-eslint branch 3 times, most recently from 2d52c9a to d85548e Compare May 29, 2025 02:27
halkeye added 2 commits May 28, 2025 19:30
pnpm eslint src

No current errors

make sure ci is also running node 22
@halkeye halkeye force-pushed the add-eslint branch 5 times, most recently from b849706 to 0d15653 Compare May 29, 2025 03:21
@halkeye
Copy link
Contributor Author

halkeye commented May 29, 2025

I swear this was working fine before but updated now:
Upgraded to node 22 everywhere including package.json and ci
Updated pnpm 10 so cypress installs properly on ci
Turned off typescript errors in non typescript files (just noisy and isn't helpful atm)
Cleaned up a lot of eslint issues

Hopefully nothing else?
🤞

console.log("Language Change:", {
header: req.headers["accept-language"],
detected: req.language,
currentLanguage: currentLanguage,
Copy link
Contributor Author

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 :)

Copy link
Contributor

@raphaelkabo raphaelkabo left a 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!

@lowercasename lowercasename merged commit b83dbf2 into lowercasename:main Jul 3, 2025
2 checks passed
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