Last updated:
0 purchases
lint strict dependencies
lint_strict_dependencies #
Simple linter of strict dependencies for Flutter apps.
Usage #
Install #
dev_dependencies:
lint_strict_dependencies: any
copied to clipboard
Config #
To use lint_strict_dependencies, you need adding setting to your strict_dependencies.yaml.
rules:
- module: "ui/components"
allowReferenceFrom:
- "ui/pages"
allowSameModule: true
- module: "view_models"
allowReferenceFrom:
- "ui/pages"
allowSameModule: false
- module: "models"
allowReferenceFrom:
- "view_models"
- "ui/pages"
allowSameModule: false
copied to clipboard
Execute lint #
flutter pub run lint_strict_dependencies:main
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.