lint_strict_dependencies

Last updated:

0 purchases

lint_strict_dependencies Image
lint_strict_dependencies Images
Add to Cart

Description:

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.