leancode_lint 12.1.0 copy "leancode_lint: ^12.1.0" to clipboard
leancode_lint: ^12.1.0 copied to clipboard

Robust, high-quality lint rules used at LeanCode.

12.1.0 #

  • Treat HookWidget as a new hook context. This should remove some false positives in avoid_conditional_hooks and catch new cases in hook_widget_does_not_use_hooks.

12.0.0 #

  • Remove deprecated import_of_legacy_library_into_null_safe error code

11.0.0 #

  • Treat HookConsumer and HookConsumerWidget from package:hooks_riverpod as hook widgets

10.0.0 #

  • Bump custom_lint_builder dependency to 0.6.2

9.0.0 #

  • Disable lints deprecated in Dart 3.3.0
  • Bump minimum Dart version to 3.3
  • Enable custom lint avoid_single_child_in_multi_child_widgets for Column, Row, Flex, Wrap, SliverList, MultiSliver, SliverChildListDelegate, SliverMainAxisGroup, and SliverCrossAxisGroup
  • Fix avoid_conditional_hooks false positive

8.0.0 #

7.0.0+1 #

  • Change package description on pub-web.flutter-io.cn and in README

7.0.0 #

  • Implement LeanCode custom lints

6.0.0 #

5.0.0 #

4.0.0+2 #

  • Add analysis and lints topics to pubspec

4.0.0+1 #

4.0.0 #

3.0.0 #

  • Migrate from analyzer.strong-mode.{implicit-casts,implicit-dynamic} to analyzer.language.{strict-casts,strict-inference,strict-raw-types} which might report new warnings

2.1.0 #

2.0.0+1 #

  • Fix broken changelog (#90)

2.0.0 #

  • Breaking: Remove the unawaited() function which is provided by Dart since 2.14 (#88)
  • Disable the discarded_futures lint (#87)
  • Disable the deprecated invariant_booleans lint (#86)

1.3.0 #

1.2.1 #

1.2.0 #

1.1.0 #

1.0.2 #

  • Remove dependency on flutter
  • Update README to differentiate between app and package projects

1.0.1+1 #

  • Improve explanation in README on why one might want to add leancode_lint as a normal dependency instead of dev dependency when using Dart version < 2.14

1.0.1 #

1.0.0 #

  • Initial release