barrel_file_lints 1.0.1 copy "barrel_file_lints: ^1.0.1" to clipboard
barrel_file_lints: ^1.0.1 copied to clipboard

A Dart 3.10+ analyzer plugin that enforces barrel file import rules for feature-based Flutter architecture. Supports both feature_xxx/ and features/xxx/ naming conventions.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add barrel_file_lints

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  barrel_file_lints: ^1.0.1

Alternatively, 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:barrel_file_lints/barrel_file_lints.dart';
0
likes
0
points
233
downloads

Publisher

verified publisherteklund.dev

Weekly Downloads

A Dart 3.10+ analyzer plugin that enforces barrel file import rules for feature-based Flutter architecture. Supports both feature_xxx/ and features/xxx/ naming conventions.

Repository (GitHub)
View/report issues

Topics

#linter #analyzer #flutter #architecture #clean-architecture

License

unknown (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin

More

Packages that depend on barrel_file_lints