leancode_lint 12.1.0 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 inavoid_conditional_hooks
and catch new cases inhook_widget_does_not_use_hooks
.
12.0.0 #
- Remove deprecated
import_of_legacy_library_into_null_safe
error code
11.0.0 #
- Treat
HookConsumer
andHookConsumerWidget
frompackage: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
forColumn
,Row
,Flex
,Wrap
,SliverList
,MultiSliver
,SliverChildListDelegate
,SliverMainAxisGroup
, andSliverCrossAxisGroup
- Fix
avoid_conditional_hooks
false positive
8.0.0 #
- Enable the following lints:
7.0.0+1 #
- Change package description on pub.dev and in README
7.0.0 #
- Implement LeanCode custom lints
6.0.0 #
- Enable the following lints:
- Remove deprecated rules
iterable_contains_unrelated_type
andlist_remove_unrelated_type
- Bump minimum Dart version to 3.1
5.0.0 #
- Elevate level of all infos to warning except for:
4.0.0+2 #
- Add
analysis
andlints
topics to pubspec
4.0.0+1 #
- Remove lint
library_private_types_in_public_api
which was accidentally enabled
4.0.0 #
- Enable the following lints:
- Remove the deprecated lint
enable_null_safety
- Bump minimum Dart version to 3.0
- Remove dependence on
flutter_lints
3.0.0 #
- Migrate from
analyzer.strong-mode.{implicit-casts,implicit-dynamic}
toanalyzer.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 #
- Enable the following lints:
1.2.1 #
- Disable the following lints:
1.2.0 #
- Enable the following lints:
- Bump minimum Dart version to 2.17.
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 #
- Disable the following lints:
- Fix warning with
package:flutter_lints/flutter.yaml
not being found
1.0.0 #
- Initial release