Comments (2)
Hi @tim-teacher, sorry for the delay in responding. Normally, dependency_validator will fail if any of the following are found:
- Missing: When a dependency is used in the package but not declared in the pubspec.yaml
- Under-promoted: When a dependency is used within lib/ but only declared as a dev_dependency.
- Over-promoted: When a dependency is only used outside lib/ but declared as a dependency.
- Unused: When a dependency is not used in the package but declared in the pubspec.yaml.
However, package executables make this tricky, because we don't have a good way to know if a project is using the executable provided by one of their dependencies. It might be used during CI or it might just be used during local dev. For that reason, we take the conservative approach and assume that the dependency providing the executable is used so that you don't have to configure dependency_validator to ignore it. When we do that, we print this note so that you can be aware. If you happen to know that you aren't using flutter_native_splash
's executable, then you might be able to remove that dependency.
from dependency_validator.
Related Issues (19)
- UIP-3198 Add --help flag HOT 1
- UIP-3199 Document --no-fatal-dev-missing flag
- UIP-3197 Ignore imports in strings HOT 7
- UIP-3196 Transformers should be in dependencies, not dev_dependencies HOT 1
- FlutterSDK unavailable HOT 2
- Dependencies can be more than imports or used binaries HOT 2
- zsh: command not found: dependency_validator
- [Request] Possible to user a specific comment to exclude certain packages? HOT 1
- Consider implementing this as an analyzer plugin
- Can't find path to build config on Windows, version 2.0.0 HOT 4
- Null-safety HOT 2
- CI/CD HOT 3
- Add --exclude-dir option to allow excluding certain directories HOT 1
- config // allow pinned dependencies
- Auto-fix for errors?
- Analyze analysis_options.yaml as dependency HOT 2
- Ignore sub-packages HOT 3
- Not properly ignoring "missing packages" HOT 2
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 dependency_validator.