We should add an eslint rule that only allows relative imports. While absolute imports work when running locally, TypeScript throws an error for them when our components package is referenced by another app.
Acceptance Criteria
- [ ] An eslint rule has been added to throw errors on absolute imports
- [ ] `yarn lint` should fail if there is an absolute import
Description
We should add an eslint rule that only allows relative imports. While absolute imports work when running locally, TypeScript throws an error for them when our components package is referenced by another app.
Acceptance Criteria
- [ ] An eslint rule has been added to throw errors on absolute imports - [ ] `yarn lint` should fail if there is an absolute import