We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
This issue references the discussion in PR #3810 about improving our Knip configuration for the monorepo setup.
@webpro (who is the primary Knip developer) suggested the following configuration which would be more effective for our monorepo structure:
{ "$schema": "https://unpkg.com/knip@latest/schema.json", "workspaces": { ".": { "entry": ["src/extension.ts", "src/workers/countTokens.ts", "src/**/__tests__/**/*{b,B}enchmark.ts"], "project": ["src/**/*.ts"] }, "webview-ui": { "entry": ["src/index.tsx"], "project": ["src/**/*.{ts,tsx}"] } }, "ignore": ["**/__mocks__/**"] }
Key points from @webpro:
entry
project
workspaces["."]
--debug
ignore
[email protected]
This configuration would help resolve issues like the one encountered with src/utils/storageUtils.ts being flagged incorrectly.
src/utils/storageUtils.ts
cc: @webpro @cte
The text was updated successfully, but these errors were encountered:
blocks #3810
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
This issue references the discussion in PR #3810 about improving our Knip configuration for the monorepo setup.
@webpro (who is the primary Knip developer) suggested the following configuration which would be more effective for our monorepo structure:
Key points from @webpro:
entry
andproject
options are not effective and should be in the root workspace config atworkspaces["."]
--debug
can help see the "Included workspace configs" that Knip usesignore
option in the config can be removed entirely after installing[email protected]
or laterThis configuration would help resolve issues like the one encountered with
src/utils/storageUtils.ts
being flagged incorrectly.cc: @webpro @cte
The text was updated successfully, but these errors were encountered: