You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
imports-as-dependencies supports types defined in the exports property.
Actual behavior
imports-as-dependencies reports: import points to package which is not found in dependencies. Because the rule only looks at the types and typings properties. importsAsDependencies.js#L85
Expected behavior
imports-as-dependencies
supports types defined in theexports
property.Actual behavior
imports-as-dependencies
reports: import points to package which is not found in dependencies. Because the rule only looks at thetypes
andtypings
properties.importsAsDependencies.js#L85
Files
package.json
index.js
Environment
eslint-plugin-jsdoc
version: 46.2.4Additional info
There's a similar problem with ESLint rules checking imports, as they only look at the
main
property:no-missing-imports
does not support "exports" in package.json mysticatea/eslint-plugin-node#255no-unresolved
is not aware ofexports
definition inpackage.json
import-js/eslint-plugin-import#1810import/no-unresolved
raise false positive when there is nomain
field in thepackage.json
import-js/eslint-plugin-import#2132The text was updated successfully, but these errors were encountered: