Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notes regarding migrating from pedantic #41

Merged
merged 3 commits into from
Jun 7, 2021

Conversation

srawlins
Copy link
Member

Fixes #37

README.md Outdated
@@ -64,8 +64,20 @@ You can customize the pre-defined 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 the pedantic package

In migrating from the pre-defined lint sets provided by the [pedantic package],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this delta w/ the latest pedantic? (I can't recall.) If not, we should probably specify a version?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

latest

README.md Outdated
included in the pre-defined 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`. To keep any of these lints enabled,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can point out that sort_child_properties_last and use_full_hex_values_for_flutter_colors are now in flutter_lints?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@pq pq requested a review from devoncarew May 21, 2021 15:12
Copy link
Member

@devoncarew devoncarew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

README.md Outdated
@@ -64,8 +64,20 @@ You can customize the pre-defined 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 the pedantic package
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the pedantic package => package:pedantic ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

README.md Outdated
## Migrating from the pedantic package

In migrating from the pre-defined lint sets provided by the [pedantic package],
you get additional static analysis coverage from 29 additional lints. There
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I'd just say 'additional' once here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Member

@parlough parlough left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great to include, thanks! I particularly like to include
always_declare_return_types, prefer_single_quotes, and sort_child_properties_last and I imagine others who used pedantic previously will as well :)

@srawlins srawlins merged commit 855f5ea into dart-lang:main Jun 7, 2021
@srawlins srawlins deleted the pedantic branch June 7, 2021 20:51
mosuem pushed a commit to dart-lang/core that referenced this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document migration from pedantic
4 participants