ESLint plugin providing comprehensive linting rules for ES2015+ import/export syntax with static analysis and module system enforcement.
80
Design an ESLint flat config that tunes import resolution for a mixed JS/TS workspace, ensuring custom aliases, built-in module recognition, and controlled ignore/external behavior work consistently across linted files.
src/app.ts that imports @shared/logger (mapping to src/shared/logger.ts) and ./ui/Button (resolving a .tsx component) passes without unresolved or missing-extension errors. @test**/generated/** are skipped by import-resolution checks, while imports outside those paths still surface unresolved errors. @testvendor/ folder (e.g., vendor/charting) are treated as external modules and do not trigger unresolved or extraneous-dependency errors, while missing local files remain flagged. @testworker_threads and node:test are recognized as core modules and avoid unresolved/extraneous errors, whereas an unrecognized bare specifier like nonexistent-core still fails. @test@generates
// ESM flat config exporting an array of configs with import linting/resolution tuned
export default [
/* config entries with settings and rules required to satisfy the capabilities */
];Provides import linting rules and resolver utilities for JS/TS projects.
Install with Tessl CLI
npx tessl i tessl/npm-eslint-plugin-import-xdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10