dataall
dataall copied to clipboard
Switch project to absolute imports
- switch the project to absolute imports
- add an eslint rule to fail on relative imports
How to achieve this:
- Follow the docs here: https://create-react-app.dev/docs/importing-a-component/#absolute-imports,
- Remove all index.js files
- Replace relative imports with absolute imports.
Originally posted by @itsmo-amzn in https://github.com/data-dot-all/dataall/pull/1020#discussion_r1479960349
@petrkalos whats the status here? i see the PR was closed. Can we close this issue or we are considering this for later?
I'd keep it open as it might be a good first issue. I close the PR because it was mostly an automatted change but I didn't have time to test it.