eslint-plugin-import-x icon indicating copy to clipboard operation
eslint-plugin-import-x copied to clipboard

Add support for lazy() imports?

Open jasperfirecai2 opened this issue 11 months ago • 1 comments

I've been looking for any way to enforce sorting of lazy imported react components. with the very limited other options, this package feels like my only hope outside of writing an integration test. it surprises me I couldn't find a package for it already given how big React is. Lazy imports are always in the format of const Component = /*React.*/lazy(() => import('path')/*or require*/);

jasperfirecai2 avatar Dec 10 '24 14:12 jasperfirecai2