dataall icon indicating copy to clipboard operation
dataall copied to clipboard

Switch project to absolute imports

Open petrkalos opened this issue 1 year ago • 2 comments

  • 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 avatar Feb 07 '24 09:02 petrkalos

@petrkalos whats the status here? i see the PR was closed. Can we close this issue or we are considering this for later?

anmolsgandhi avatar Jun 11 '24 02:06 anmolsgandhi

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.

petrkalos avatar Jun 11 '24 15:06 petrkalos