custom_lint_core 0.6.0 copy "custom_lint_core: ^0.6.0" to clipboard
custom_lint_core: ^0.6.0 copied to clipboard

A package to help writing custom linters

0.6.0 - 2024-02-04 #

  • Bumped minimum Dart SDK to 3.0.0
  • goldens with diffs now include the priority, ID, selection and file path.
  • breaking: encodePrioritizedSourceChanges/matcherNormalizedPrioritizedSourceChangeSnapshot's source parameter now takes a Map<String, String>? sources instead of String? source. This enables goldens to handle fixes that emit to a different file.

0.5.14 - 2024-02-03 #

  • Improved formatting when specifying source on encodePrioritizedSourceChanges/matcherNormalizedPrioritizedSourceChangeSnapshot

0.5.13 - 2024-02-03 #

  • Improved formatting when specifying source on encodePrioritizedSourceChanges/matcherNormalizedPrioritizedSourceChangeSnapshot

0.5.12 - 2024-02-02 #

  • Added encodePrioritizedSourceChanges, to enable writing a List<PrioritizedSourceChanges> to a file
  • matcherNormalizedPrioritizedSourceChangeSnapshot now optionally takes a String source. This enables saving to the disk the expected result.

0.5.11 - 2024-01-27 #

  • custom_lint upgraded to 0.5.11

0.5.10 - 2024-01-26 #

  • Fix a bug with matcherNormalizedPrioritizedSourceChangeSnapshot

0.5.9 - 2024-01-26 #

  • matcherNormalizedPrioritizedSourceChangeSnapshot now optionally allows specifying a JsonEncoder.

0.5.8 - 2024-01-09 #

Added an optional customPath to the various ChangeReporter methods (thanks to @laurentschall)

0.5.7 - 2023-11-20 #

  • custom_lint upgraded to 0.5.7

0.5.6 - 2023-10-30 #

  • custom_lint upgraded to 0.5.6

0.5.5 - 2023-10-26 #

  • custom_lint upgraded to 0.5.5

0.5.4 - 2023-10-20 #

  • custom_lint upgraded to 0.5.4

0.5.3 - 2023-08-29 #

  • custom_lint upgraded to 0.5.3

0.5.2 - 2023-08-16 #

  • Support both analyzer 5.12.0 and 6.0.0 at the same time.
  • Attempt at fixing the windows crash

0.5.1 - 2023-08-03 #

Support analyzer v6

0.5.0 - 2023-06-21 #

  • custom_lint upgraded to 0.5.0

0.4.0 - 2023-05-12 #

  • Added support for analyzer 5.12.0

0.3.4 - 2023-04-19 #

  • custom_lint upgraded to 0.3.4

0.3.3 - 2023-04-06 #

  • Upgraded analyzer to >=5.7.0 <5.11.0
  • LintRuleNodeRegistry and other AstVisitor-like now are based off GeneralizingAstVisitor instead of GeneralizingAstVisitor
  • Exposes the Pubspec in CustomLintContext

0.3.2 - 2023-03-09 #

  • custom_lint upgraded to 0.3.2

0.3.1 - 2023-03-09 #

Update dependencies

0.3.0 - 2023-03-09 #

  • Update analyzer to >=5.7.0 <5.8.0

0.2.12 #

Upgrade custom_lint

0.2.11 #

Bump minimum Dart SDK to sdk: ">=2.19.0 <3.0.0"

0.2.10 #

Update fileToAnalyze from *.dart to **.dart to match the fileToAnalyze fix in custom_lint_builder

0.2.9 #

Fix TypeChecker.fromPackage not always return true when it should

0.2.8 #

Fix exception thrown by TypeChecker.isExactlyType if DartType.element is null.

0.2.7 #

Initial release

3
likes
0
points
1.63M
downloads

Publisher

unverified uploader

Weekly Downloads

A package to help writing custom linters

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, analyzer_plugin, collection, custom_lint, glob, matcher, meta, package_config, path, pubspec_parse, source_span, yaml

More

Packages that depend on custom_lint_core