Comments (1)
This is a totally valid bug report, but currently a non-trivial thing to handle in Knip.
Even if we'd take the working-directory
into account to accomodate for something to run in another directory (which doesn't have to be another workspace), we'd need to understand this is in another workspace and "transfer" the stylelint
dependency from the root workspace to the appropriate workspace.
For now the only suggestions I can do:
- Move or copy (depending on usage) the
stylelint
to the root workspacedevDependencies
- Add
stylelint
toignoreDependencies
for the root workspace.
I really value this feedback, as it enforces the idea that some generic improvements need to be made in the capabilities of core and plugins. But there are other areas I consider higher priority at the moment. Let's just keep this issue open for visbility.
from knip.
Related Issues (20)
- Nx plugin doesn't look in `package.json`
- Nx plugin doesn't detect binaries without explicit executor
- File index.js and extensions that are omitted by default HOT 4
- storybook: @storybook/builder-vite is incorrectly listed as unused devDependencies HOT 1
- False positive for dev dependency listed in jest config HOT 1
- Add support for Ionic / enhance the capacitor plugin HOT 7
- Consider the file in package.json types not to be unused HOT 3
- Add a brief page to the documentation showing how to use on CI HOT 2
- `peerDependency` range conflicts with `typescript` beta releases
- Module Resolution Issues Across Multiple Workspaces with TSConfig Paths
- knip generates undesired code near to console.log lines HOT 1
- Respect .git/info/exclude in addition to .gitignore HOT 10
- Autofix - remove trailing commas HOT 4
- TypeScript Namespace - Unsed exported constants not detected HOT 6
- Lazy imports not accessible when accessed by key HOT 10
- Workspaces no longer correctly identified since 5.10 HOT 6
- Issue a warning or fail if a specific file given as an entry point does not exist HOT 1
- Marked as unused if used only in Vue <template> HOT 11
- To read TypeScript configuration files Jest requires "ts-node" HOT 2
- Re-exported type reported as unused with `ignoreExportsUsedInFile` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knip.