import-js/eslint-plugin-import
View on GitHub ↗ ★ 5,953 JavaScript
ESLint plugin with rules that help validate proper imports.
6 mentions on Hacker News by 6 people: 0 stories, 6 comments · first 2022-08-25 · latest 2026-10-09
20082026
-
https://github.com/import-js/eslint-plugin-import/blob/HEAD/... It's not built in to ESLint, but it's fairly widely used in my experience and helps ensure that you've got a sensible split between production and non-production.
comment by andrewaylett · 2026-10-09 · in Cloudflare acquires Deno -
I recently came across this issue ( https://github.com/import-js/eslint-plugin-import/issues/213... and https://github.com/import-js/eslint-plugin-import/issues/181... ) and man that person has really found him self a hill. What is a bit…
comment by runarberg · 2023-12-28 · in 4B If Statements -
…that isn't relevant to you. [1]: https://twitter.com/ljharb/status/1704912065486618915 [2]: https://github.com/import-js/eslint-plugin-import/pull/2447#... [3]: https://www.npmjs.com/package/react-outside-click-handler-li...
comment by romellem · 2023-09-21 · in Speeding up the JavaScript ecosystem – Polyfills gone rogue -
…further there. Another PR to an eslint plugin was unfortunately rejected as it broke node 4 support https://github.com/import-js/eslint-plugin-import/pull/2654 . The other popular package that's used for module resolution is…
comment by mhagemeister · 2023-01-16 · in Speeding up the JavaScript ecosystem part 2 – Module Resolution -
There's an eslint plugin to detect circular dependencies: https://github.com/import-js/eslint-plugin-import/blob/main/...
comment by Fudgel · 2022-08-26 · in Best practices for TypeScript monorepo -
…fail on cycles, since we run this in our CI build. I also hear people use ESLint, probably this: https://github.com/import-js/eslint-plugin-import/blob/main/... The fact that the compiler itself doesn't error on cycle imports, and that the…
comment by pc2g4d · 2022-08-25 · in Best practices for TypeScript monorepo