t3-oss / create-t3-turbo

Clean and simple starter repo using the T3 Stack along with Expo React Native
https://turbo.t3.gg
MIT License
4.73k stars 408 forks source link

Consider replacing `eslint-plugin-import` with `eslint-plugin-import-x` #1078

Open ronanru opened 5 months ago

ronanru commented 5 months ago

You should replace eslint-plugin-import with eslint-plugin-import-x. The latter is a fork that runs faster and has no unnecessary dependencies.

For some reason eslint-plugin-import depends on polyfils for stuff like Array.flat and Object.fromEntries (They still support node 4). import-x removes them. It also uses get-tsconfig library instead of typescript for parsing tsconfig.json making it a lot faster.