dependency_validator 4.1.1 copy "dependency_validator: ^4.1.1" to clipboard
dependency_validator: ^4.1.1 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. 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