[analysis_options] sync lint rules with flutter/flutter#2495
Conversation
|
@stuartmorgan Is there anything special I need to do for packages that have a "NEXT" changelog entry? The check is not happy with what I did: https://cirrus-ci.com/task/5907580605169664 |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
Thanks, this has been on my TODO list for quite a while!
Just some small things here and there.
There was a problem hiding this comment.
A test-only change doesn't need a version bump.
There was a problem hiding this comment.
Should this have a TODO to restructure it?
There was a problem hiding this comment.
This seems problematic, and like something that should have a bug and a TODO.
There was a problem hiding this comment.
This has production code changes, so should be versioned.
There was a problem hiding this comment.
Needs to be versioned.
There was a problem hiding this comment.
We should just delete this file.
There was a problem hiding this comment.
This is really long; let's use a local variable and interpolate that variable instead.
There was a problem hiding this comment.
Should be versioned.
There was a problem hiding this comment.
This should be at the file level so this doesn't show up in the excerpt (once the excerpt annotations are fixed).
You can't use |
|
This is ready for another review.
Scratch that, no exception needed. |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
LGTM with nit. Thanks again!
There was a problem hiding this comment.
Nit: Fixes
Per style guide.
|
|
Syncs the lint configuration from the master file in the flutter/flutter repository over to this repository and fixes all resulting violations.
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.