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
Enable and fix package:pedantic lints #135
Conversation
- always_declare_return_types - omit_local_variable_types - prefer_collection_literals - prefer_if_null_operators - unawaited_futures Bump min SDK to 2.2.0 to support Set literals.
Thanks for the PRs @natebosch; @grouma, @natebosch, I'd like the opportunity to review these before they get merged. |
@devoncarew - any update? |
LGTM! @devoncarew ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per the recent design doc from mit, pedantic is too pedantic. I'll update this package to use whatever LCD rule set we come up with once it exists.
analysis_options.yaml
Outdated
@@ -1,3 +1,4 @@ | |||
include: package:pedantic/analysis_options.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should peg this to a specific version so that changes to the pedantic package won't break the CI here.
FWIW |
Bump min SDK to 2.2.0 to support Set literals.