<!-- NOTE 1: It would help if you can first scan the issue tracker before submitting a new issue: https://github.com/gajus/eslint-plugin-jsdoc/issues NOTE 2: If this is a feature specifically related to the parsing of types, e.g., supporting `some-new+type-syntax` (within curly brackets) in: /** * @param {some-new+type-syntax} myName */ ...then please file instead at https://github.com/simonseyock/jsdoc-type-pratt-parser/issues/ --> ## Motivation i use [`import/no-extraneous-dependencies`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-extraneous-dependencies.md) to ensure that i don't accidentally install and import dependencies without adding to `package.json`. it would be nice to have that functionality in jsdoc `@type`s as well <!-- What would be the purpose of this new feature? --> ## Current behavior no error when `eslint` and/or `@types/eslint` is not present in `dependencies` or `devDependencies` in `package.json ```js /** @type {import('eslint').Linter.ParserOptions} */ const foo = {} ``` <!-- If this is to enhance an existing rule, how does the rule currently behave in regard to the new changes? --> ## Desired behavior error <!-- What would you like to see happen instead? --> ## Alternatives considered raised an issue on `eslint-plugin-import` but it was suggested that i raise it here as it's apparently not able to check jsdocs - https://github.com/import-js/eslint-plugin-import/issues/2508#issuecomment-1193764236 <!-- For any alternatives you have considered -->