dependency_validator 5.0.2 copy "dependency_validator: ^5.0.2" to clipboard
dependency_validator: ^5.0.2 copied to clipboard

Checks for missing, under-promoted, over-promoted, and unused dependencies.

example/example.md

Either globally activate this package or add it as a dev_dependency:

# Install as a dev dependency on the project -- shared with all collaborators
$ dart pub add --dev dependency_validator

# Install globally on your system -- does not impact the project
$ dart pub global activate dependency_validator

Then run:

# If installed as a dependency:
$ dart run dependency_validator

# If globally activated:
$ dart pub global run dependency_validator

If needed, add a configuration in dart_dependency_validator.yaml:

# Exclude one or more paths from being scanned. Supports glob syntax.
exclude:
  - "app/**"

# Ignore one or more packages.
ignore:
  - analyzer

# Allow dependencies to be pinned to a specific version instead of a range
allowPins: true
247
likes
120
points
569k
downloads

Publisher

verified publisherworkiva.com

Weekly Downloads

Checks for missing, under-promoted, over-promoted, and unused dependencies.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

unknown (license)

Dependencies

analyzer, args, build_config, checked_yaml, glob, io, json_annotation, logging, package_config, path, pub_semver, pubspec_parse, yaml

More

Packages that depend on dependency_validator