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
Recommendation: "@types/eslint" is externalized because "eslint" is in "peerDependencies". Place "@types/eslint" in "peerDependencies" as well so users don't have missing types.
Recommendation: "@types/eslint__eslintrc" is externalized because "@eslint/eslintrc" is in "dependencies". Place "@types/eslint__eslintrc" in "dependencies" as well so users don't have missing types.
Recommendation: "@types/eslint__js" is externalized because "@eslint/js" is in "dependencies". Place "@types/eslint__js" in "dependencies" as well so users don't have missing types.
Recommendation: "@types/confusing-browser-globals" is externalized because "confusing-browser-globals" is in "dependencies". Place "@types/confusing-browser-globals" in "dependencies" as well so users don't have missing types.
However, my type file only imports from eslint:
import{Linter}from'eslint';/** * These specific signatures are needed to make sure that the return type is * narrowed to the input type. */declarefunctiondefineConfig<TextendsLinter.FlatConfig>(config: T): T;declarefunctiondefineConfig<TextendsLinter.FlatConfig[]>(config: T): T;typeOptions={node?: boolean;};declareconstpvtnbr: (options?: Options)=>Linter.FlatConfig[];export{typeOptions,defineConfig,pvtnbr};
Expected behavior
To only recommend externalizing types that are imported/bundled
Minimal reproduction URL
N/A
Version
N/A
Node.js version
N/A
Package manager
npm
Operating system
macOS
Contributions
I plan to open a pull request for this issue
I plan to make a financial contribution to this project
The text was updated successfully, but these errors were encountered:
Problem
However, my type file only imports from
eslint
:Expected behavior
To only recommend externalizing types that are imported/bundled
Minimal reproduction URL
N/A
Version
N/A
Node.js version
N/A
Package manager
npm
Operating system
macOS
Contributions
The text was updated successfully, but these errors were encountered: