The frontend is currently using a mix of relative and absolute imports. This task is to update the frontend imports to use absolute paths. Additionally we should add a relative path setting of src/ so that absolute imports become component/Footer instead of src/components/Footer.
If there is a reason not to use absolute imports, there should at least be a consistent approach across the frontend, and this ticket can be used to document that.
Acceptance criteria
[ ] config updated and absolute import paths enforced
[ ] check if we can add this to the linter
[ ] update docs if deemed necessary (if there is a linter than that could be considered self-documenting)
Summary
The frontend is currently using a mix of relative and absolute imports. This task is to update the frontend imports to use absolute paths. Additionally we should add a relative path setting of
src/
so that absolute imports becomecomponent/Footer
instead ofsrc/components/Footer
.If there is a reason not to use absolute imports, there should at least be a consistent approach across the frontend, and this ticket can be used to document that.
Acceptance criteria