@@ -64,6 +64,19 @@ You can customize the pre-defined lint sets, both to disable one or more of the
6464lints included, or to add additional lints. For details see [customizing static
6565analysis].
6666
67+ ## Migrating from ` package:pedantic`
68+
69+ In migrating from the pre-defined lint sets provided by the [`package:pedantic`],
70+ you get static analysis coverage from 29 additional lints. There are, however,
71+ 6 lints which the pedantic package includes which are not included in the
72+ pre-defined lint sets provided by the lints package :
73+ ` always_declare_return_types` , `prefer_single_quotes`,
74+ ` sort_child_properties_last` (included in [`package:flutter_lints`]),
75+ ` unawaited_futures` , `unsafe_html`, and
76+ ` use_full_hex_values_for_flutter_colors` (included in [`package:flutter_lints`]).
77+ To keep any of these lints enabled,
78+ add them to your [analysis options][customizing static analysis].
79+
6780# # Submitting Feedback
6881
6982Feedback is welcome! If you want to propose an existing lint for inclusion here,
@@ -79,3 +92,5 @@ lints or have an idea for a new one, please file an issue on the [linter repo].
7992[pub.dev] : https://pub.dev
8093[issue] : https://github.com/dart-lang/lints/issues
8194[linter repo] : https://github.com/dart-lang/linter
95+ [`package:pedantic`] : https://pub.dev/packages/pedantic
96+ [`package:flutter_lints`] : https://pub.dev/packages/flutter_lints
0 commit comments