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.

Changelog #

All notable changes to this project will be documented in this file.

1.0.1 - 2025-11-24 #

Changed #

  • Simplified publish workflow to use official Dart publish action
  • Improved CI/CD workflows with better verification and quality checks

1.0.0 - 2025-11-24 #

Added #

  • Initial stable release
  • Two lint rules:
    • avoid_internal_feature_imports - Features must import other features via barrel files only
    • avoid_core_importing_features - Core module must not import from feature modules
  • Quick fixes with IDE integration:
    • Replace internal import with barrel file import
    • Comment out feature import in core with TODO
  • Support for both naming conventions:
    • feature_xxx/ (underscore style)
    • features/xxx/ (clean architecture style)
  • Works with both absolute (package:) and relative (../) imports
  • Test files automatically excluded from checks
  • Comprehensive test suite (47 tests across 7 test files)
  • Full CI/CD pipeline with GitHub Actions
  • Complete documentation and examples
0
likes
0
points
184
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