We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When having imports from files in your own source code, DepCheck reports the folder name as a missing dependency:
Missing dependencies * styles: ./src/styles/constants.ts * helpers: ./src/hooks/useServerPagination.tsx * assets: ./src/components/UploadCsv/UploadCsv.tsx * components: ./src/components/UploadCsv/UploadCsv.tsx * hooks: ./src/components/DataGrid/DataGrid.tsx
All of the missing dependencies listed above is internal imports.
Where the dependency is used:
import Colors from 'styles/Color.styles'; export const Shadows = { cardShadow: `0px 0px 2px ${Colors.shadowGrey}, 0px 16px 32px -4px ${Colors.shadowGrey}`, buttonShadow: `0px 8px 16px ${Colors.buttonShadowGrey}`, };
Where the dependency is listed in package.json:
Dependency is not listed simply because it's a local file "Color.styles.ts" inside the holder "styles".
node -v
npm -v
depcheck --version
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Description
When having imports from files in your own source code, DepCheck reports the folder name as a missing dependency:
All of the missing dependencies listed above is internal imports.
Code snippets
Where the dependency is used:
Where the dependency is listed in package.json:
Dependency is not listed simply because it's a local file "Color.styles.ts" inside the holder "styles".
Versions
node -v
:v20.11.0
npm -v
:10.2.4
depcheck --version
:1.4.7
The text was updated successfully, but these errors were encountered: