import_guard_custom_lint 0.0.7
import_guard_custom_lint: ^0.0.7 copied to clipboard
A custom_lint package to guard imports between folders. Enforce clean architecture layer dependencies with configurable deny rules.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add import_guard_custom_lintThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
import_guard_custom_lint: ^0.0.7Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:import_guard_custom_lint/import_guard_custom_lint.dart';