import_guard 0.1.0 copy "import_guard: ^0.1.0" to clipboard
import_guard: ^0.1.0 copied to clipboard

An analyzer plugin to guard imports between folders. Enforce clean architecture layer dependencies with configurable deny rules.

Changelog #

0.1.0 #

  • Widen analyzer constraint to support >=8.2.0 <12.0.0
  • Widen analysis_server_plugin constraint to support >=0.3.0 <1.0.0

0.0.8 #

  • Fix: /** glob matching similar directory prefixes

0.0.7 #

  • Add developer documentation (CLAUDE.md, version_compatibility.md)

0.0.6 #

  • Fix: remove report cache that prevented re-analysis
  • Add multi-level caching for improved performance

0.0.5 #

  • Fix: prevent duplicate warning reports

0.0.4 #

  • Fix: lower SDK constraint to ^3.9.0 (was ^3.10.0)
  • Fix: add WARNING severity to LintCode to match registerWarningRule()

0.0.3 #

  • Fix: monorepo performance improvement (share config cache across packages)

0.0.1 #

  • Initial release
  • Native analyzer plugin using analysis_server_plugin (Dart 3.9+)
  • Full IDE integration with dart analyze and flutter analyze
  • Support for glob patterns (*, **)
  • Hierarchical config inheritance from repo root
  • Trie-based O(path_length) pattern matching
0
likes
160
points
65
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An analyzer plugin to guard imports between folders. Enforce clean architecture layer dependencies with configurable deny rules.

Repository (GitHub)
View/report issues

Topics

#lints #lint #clean-architecture #static-analysis

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, path, yaml

More

Packages that depend on import_guard