tessl install tessl/npm-eslint-plugin-import-x@3.1.0ESLint plugin providing comprehensive linting rules for ES2015+ import/export syntax with static analysis and module system enforcement.
Agent Success
Agent success rate when using this tile
80%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.96x
Baseline
Agent success rate without this tile
83%
Build a linting setup that enforces ES module import/export correctness for a small JavaScript codebase.
src/valid/math.js exports named helpers (for example add and multiply) with no default export, and src/valid/index.js imports those names without errors. @testsrc/invalid/bad-named.js fails because it requests a named import (e.g., total) that src/valid/math.js does not export.src/invalid/bad-default.js fails because it default-imports src/valid/math.js, which should be treated as a named-exports-only module. @testsrc/invalid/missing-path.js fails because the referenced module path cannot be resolved using the configured extensions.src/invalid/self-cycle.js fails because the module directly imports itself (including via a relative alias). @testsrc/**/*.js files and enforces the behaviors above.src/valid and src/invalid.@generates
export default [
// Flat config entries enabling import/export validation for src/**/*.js
];Lints ES module import/export correctness.