Skip to content

Commit

Permalink
Remove pedantic from README (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed May 26, 2023
1 parent 4ac79d8 commit 4236c43
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,6 @@ You can customize the predefined lint sets, both to disable one or more of the
lints included, or to add additional lints. For details see [customizing static
analysis].

## Migrating from `package:pedantic`

In migrating from the predefined lint sets provided by the [`package:pedantic`],
you get static analysis coverage from 29 additional lints. There are, however,
6 lints which the pedantic package includes which are not included in the
predefined lint sets provided by the lints package:
`always_declare_return_types`, `prefer_single_quotes`,
`sort_child_properties_last`, `unawaited_futures`, `unsafe_html`, and
`use_full_hex_values_for_flutter_colors` (also included in
[`package:flutter_lints`]). To keep any of these lints enabled,
add them to your [analysis options][customizing static analysis].

Additionally, `package:pedantic` provides the `unawaited` method for use with
`unawaited_futures`. With SDK version 2.14 this method is available in the
`dart:async` package, and this is now the recommended way to use it. Be sure to
mark the minimum SDK version of your package as `2.14` if you do so.

## Evolving the lint sets

The Dart language changes and the ecosystem continues to develop new best
Expand Down

0 comments on commit 4236c43

Please sign in to comment.