dependency_validator 4.1.1 dependency_validator: ^4.1.1 copied to clipboard
Checks for missing, under-promoted, over-promoted, and unused dependencies.
Either globally activate this package or add it as a dev_dependency. Then run:
# If installed as a dependency:
$ dart run dependency_validator
# If globally activated:
$ dart pub global run dependency_validator
If needed, configure dependency_validator in your pubspec.yaml
:
# pubsec.yaml
dependency_validator:
# Exclude one or more paths from being scanned.
# Supports glob syntax.
exclude:
- "app/**"
# Ignore one or more packages.
ignore:
- analyzer