import_lint 2.0.0 copy "import_lint: ^2.0.0" to clipboard
import_lint: ^2.0.0 copied to clipboard

The Import Lint package defines import lint rules and report on lints found in Dart code.

2.0.0 #

  • Breaking change
    • Migrated from analyzer_plugin to analysis_server_plugin
    • Dart SDK >=3.10.0 <4.0.0 required (was >=2.12.0)
    • Plugin is now declared under the top-level plugins: section of analysis_options.yaml (no longer under analyzer:)
  • Registered as a warning rule so the plugin is enabled by default (no diagnostics: block required)
  • Skip files outside lib/ so the plugin no longer crashes the analysis server when a package's bin/ or test/ directory is analyzed
  • Documented the public API (AnalysisOptions, Analyzer, Config, Rule, Constraint, Severity, Issue)
  • Excluded dev-only files from the published archive via .pubignore
  • Updated example/ and README for the new plugin system

1.0.1 #

  • bump dart 3.4.4

1.0.0 #

  • Breaking change
    • Changed yaml specs (inspired by eslint/no-restricted-paths)

0.9.5 #

  • Add Severity option(#27)

0.9.4 #

  • bump analyzer v5.2.0

0.9.3 #

  • BugFix

0.9.1 #

  • Fix monorepo

0.9.0 #

  • Support for importing external packages
  • Breaking change
    • analysis_options.yaml

0.8.0 #

  • Fix bug
    • Not working on windows
    • Analyzer error
  • Breaking change
    • analysis_options.yaml

0.7.0 #

  • Fix packages dependency

0.6.0 #

  • Fix failed to load analysis_options.yml in parent directory

0.5.0 #

  • Fix AST

0.4.1 #

  • Library prefix Support

0.4.0 #

  • Add Tests

0.3.1 #

  • search_file_path to target_file_path

0.3.0 #

  • Glob Support
  • Relative Import Support

0.2.2 #

  • Update README.md

0.2.1 #

  • Update README.md

0.2.0 #

  • Analyzer Plugin Support

0.1.6 #

  • Support Ignore Rules

0.1.5 #

  • Fix Exception Message

0.1.4 #

  • Update README.md

0.1.3 #

  • Update README.md

0.1.2 #

  • Update README.md

0.1.1 #

  • Lint import file with import_analysis_options.yaml
28
likes
160
points
1.59k
downloads

Documentation

API reference

Publisher

verified publisherkawa.dev

Weekly Downloads

The Import Lint package defines import lint rules and report on lints found in Dart code.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, args, cli_util, collection, glob, path, yaml

More

Packages that depend on import_lint