Hacker GitHub

← All repos

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

Mentions per year 6 mentions · busiest year 2023 (3)
20082026
  1. 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
  2. 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
  3. …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...
  4. …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…
  5. 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
  6. …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