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

A cognitive complexity linter for Dart libraries or applications.

2.0.0 #

  • Breaking: migrated from the deprecated custom_lint_builder to analysis_server_plugin. The plugin is now loaded directly by the Dart analysis server instead of through custom_lint.
  • Breaking: users no longer activate the rule under a custom_lint: block in analysis_options.yaml. Activate the plugin via analyzer.plugins: and configure the threshold under a top-level cognitive_complexity: block.
  • Breaking: removed the per-rule severity: option. Use the analyzer's standard analyzer.errors: mechanism to override severity.
  • Bumped minimum SDK to ^3.6.0 (required by analysis_server_plugin).

1.0.1 #

  • Bump version.

1.0.0 #

  • Initial version.
5
likes
140
points
126
downloads

Documentation

API reference

Publisher

verified publisheroursky.com

Weekly Downloads

A cognitive complexity linter for Dart libraries or applications.

Repository (GitHub)
View/report issues

License

LGPL-3.0 (license)

Dependencies

analysis_server_plugin, analyzer, path, yaml

More

Packages that depend on dart_cognitive_complexity