Migrate Frontend codebase to Typescript and Vite#6715
Conversation
for more information, see https://pre-commit.ci
…though with errors
|
Awesome! 👍 |
|
This is fantabulous - seriously great work! 🎆 |
- Create `useTypedSelector` & `useTypedDispatch` hooks for typescript support - Replace all files with the created hooks
for more information, see https://pre-commit.ci
|
The complaints from SonarCloud are likely not new, but simply showing because we touch a lot of files here right? My thinking is its nothing to worry about, but would love to hear if @royallsilwallz has any insight? At the end of the day, I think code quality concerns are bottom of the list - functioning code with adequate tests is more important to me 😄 |
Yep, I think most of them were already there, but perhaps dismissed? Since the files have been changed from Yep, for now, I think we should ignore them, and address them shortly in a future PR! |
Agree! I think its because the files have been edited, the checking is triggered, as you say. So its nothing new introduced, just old issues reflagged (my hunch at least) |
|
Yes @spwoodcock and @JoltCode , you guys are correct! With this PR, we will add strict Let's see how it goes! 🎯 😃 |
- Upgrade eslint to v9 - Upgrade prettier to v3 - Setup config files with latest standards
- Address `no-unused-vars` lint errors
a076ed6 to
255a641
Compare
typescript-vite: fix(frontend/tests): remove readdition of server-handlers.js, rename ohsome url constant var
Resolve merge conflicts with develop
|




What type of PR is this?
Related Issue
craco/webpackfrontend module bundler withvite#6531Describe this PR
This PR includes the following changes -
Led by - @JoltCode 🚀 ✨