ESLint plugin providing comprehensive linting rules for ES2015+ import/export syntax with static analysis and module system enforcement.
80
{
"context": "Evaluates how the lint helper wires eslint-plugin-import-x to enforce JSDoc-based deprecation checks on imports while leaving non-deprecated symbols untouched.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Rule enabled",
"description": "Configures the eslint-plugin-import-x rule `import-x/no-deprecated` at a non-off level so linting actually inspects imports for @deprecated tags.",
"max_score": 30
},
{
"name": "Plugin registered",
"description": "Registers the `eslint-plugin-import-x` plugin correctly in the ESLint config (flat plugins map or legacy plugins array) so the `import-x/no-deprecated` rule is available.",
"max_score": 20
},
{
"name": "Named imports flagged",
"description": "`import-x/no-deprecated` produces an error for named imports whose source export is documented with @deprecated, including the identifier and reason text from the JSDoc.",
"max_score": 15
},
{
"name": "Default imports flagged",
"description": "`import-x/no-deprecated` reports default imports of deprecated exports, tying the message to the default import location.",
"max_score": 15
},
{
"name": "Multiple hits reported",
"description": "When multiple deprecated imports appear in one file, the linter returns separate `import-x/no-deprecated` messages for each occurrence rather than merging or dropping them.",
"max_score": 10
},
{
"name": "Non-deprecated clean",
"description": "Lint runs stay silent (no `import-x/no-deprecated` findings) when only non-deprecated exports are imported from the same modules.",
"max_score": 10
}
]
}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