eslint-plugin-import-x
eslint-plugin-import-x copied to clipboard
import-x/order mismatches typescript language server organize imports for `#` prefixed imports
Minimal reproducible: https://github.com/Shinigami92/eslint-plugin-import-x-repro
input
import { internA } from "#a";
import { scopeA } from "@a/a";
import { localA } from "./a";
console.log({ internA, scopeA, localA });
actual
import-x/order reports error
expected
should not report, because when running typescript's lsp organize imports, then the above input order is enforced
context
the # prefix comes from package.json "imports": { ... } field: https://nodejs.org/api/packages.html#imports