candies_analyzer_plugin 4.0.2 copy "candies_analyzer_plugin: ^4.0.2" to clipboard
candies_analyzer_plugin: ^4.0.2 copied to clipboard

The plugin to help create custom analyzer plugin quickly and provide some useful lints and get suggestion and auto import for extension member.

4.0.2 #

  • support to cache errors into file.

4.0.1 #

  • make candies_analyzer_plugin as plugin, you can simply use it now.

4.0.0 #

  • add good_doc_comments
  • add prefer_trailing_comma
  • support to fix errors where possible in file, see prefer_trailing_comma.
  • breaking change:
    1. change method getDartFixes(ResolvedUnitResult resolvedUnitResult,AstNode astNode,) to getDartFixes(DartAnalysisError error,CandiesAnalyzerPluginConfig config,), you can get resolvedUnitResult and astNode from error, and get cache errors from config.
    2. add CandiesAnalyzerPluginConfig config for getYamlFixes and getGenericFixes.

3.3.3 #

  • add prefer_singleton

3.3.2 #

  • fix unused_file for part file

3.3.1 #

  • fix unused_file skip import file

3.3.0 #

  • add unused_file

3.2.0 #

  • add [beforeSendAnalysisErrors] method for [CandiesAnalyzerPlugin], you can edit AnalysisError before to be send.
  • add [showAnalysisErrorWithGitAuthor] property for [CandiesAnalyzerPlugin], support to add git author into error message.

3.1.2 #

  • perfer_doc_comments add method [isValidDocumentationComment]

3.1.1 #

  • perfer_doc_comments add check FunctionDeclaration

3.1.0 #

  • add perfer_doc_comments, it's same like public_member_api_docs but we can ignore lint or ignore file by override [ignoreLint] and [ignoreFile] and you can override [isPrivate] and [inPrivateMember] to check private member.
  • add [ignoreLint] and [ignoreFile] methods for [DartLint], override they base on your rule.
  • add [astVisitor] for [DartLint], you can custom astVisitor for one lint.

3.0.0 #

  • rename candies_lints to candies_analyzer_plugin.
  • support to get suggestion and auto import for extension member.
  • breaking change some classes are refactored.

2.0.3 #

  • remove dartLints.isEmpty in analyzeFile and handleEditGetFixes methods.

2.0.2 #

  • add must_call_super_dispose and end_call_super_dispose lints.

2.0.1 #

  • add command clear_cache to clear plugin_manager cache.

2.0.0 #

  • refactor code to support dart, yaml, generic file lint.
  • support yaml lint
  • support generic lint

1.0.2 #

  • rename prefer_safe_set_state.dart

1.0.1 #

  • Update method to debug

1.0.0 #

  • Initial version.
2
likes
100
pub points
84%
popularity

Publisher

verified publisherfluttercandies.com

The plugin to help create custom analyzer plugin quickly and provide some useful lints and get suggestion and auto import for extension member.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, io, logger, path, pubspec_parse, yaml

More

Packages that depend on candies_analyzer_plugin