Commit Graph

4 Commits

Author SHA1 Message Date
Sam Rawlins 44ba800533 dartfix: Fix for new lints in pedantic 0.9:
* always_declare_return_types
* annotate_overrides
* prefer_null_aware

Change-Id: I981b54b7d3422f08a990d0ac2c52ca5f4e65ac39
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128312
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2019-12-16 04:11:26 +00:00
danrubel 8b2993568e implement dartfix --pedantic
This CL adds a new --pedantic option to dartfix for applying all fixes
marked as pedantic. In addition, this addresses comments in
https://dart-review.googlesource.com/c/sdk/+/111840

Change-Id: Ia2e7a792911f19edb698c126c8fd77cd8f8f77cc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111981
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2019-08-05 20:18:05 +00:00
danrubel 3c1f679684 refactor driver test and remove required option shortcut
Change-Id: I5b5caa5aa4621f9f463a816391911bb6364b9e38
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111840
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2019-08-03 01:41:09 +00:00
danrubel 93306f5ec0 Add dartfix integration test
... and update changelog and tweak SDK constraints

Change-Id: Ifb3e733b84c3aecad0ff8fe805f77ef497248f3b
Reviewed-on: https://dart-review.googlesource.com/c/86600
Commit-Queue: Dan Rubel <danrubel@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2018-12-17 04:37:07 +00:00