Uh oh!
There was an error while loading. Please reload this page.
Dart2 template linting - #10263
Conversation
Bumps [jimschubert/query-tag-action](https://github.com/jimschubert/query-tag-action) from 1 to 2. - [Release notes](https://github.com/jimschubert/query-tag-action/releases) - [Commits](jimschubert/query-tag-action@v1...v2) Signed-off-by: dependabot[bot] <support@github.com>
…ubert/query-tag-action-2 Bump jimschubert/query-tag-action from 1 to 2
noordawod
commented
Aug 27, 2021
Anyone wants to take a look? |
noordawod
commented
Sep 1, 2021
At last, green! 🤟 |
noordawod
commented
Sep 3, 2021
Code is updated again with |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
noordawod
commented
Sep 4, 2021
@agilob updated the code per your notes, ball's at your end. Thanks! |
noordawod
commented
Sep 5, 2021
@agilob you think it's possible to merge this pr this week? |
agilob
commented
Sep 6, 2021
@wing328 can we get this in pls? |
noordawod
commented
Sep 12, 2021
@wing328 maybe start the week with a positive merge vibes? :) |
agilob
commented
Sep 12, 2021
I would like this merged as it will conflict with my dart2 NNBD branch |
agilob
commented
Sep 12, 2021
Any comments from @kuhnroyal? |
wing328
commented
Sep 13, 2021
Just merged. Sorry for the delay. |
There have been many changes lately for the Dart linter, particularly the
pedanticlinting has been phased out in favor offlutter_lints. For upgrade details: https://github.com/dart-lang/lints#migrating-from-packagepedanticAnyway, when I regenerated the source code using the current Dart template and using the linting rules that comes with
flutter_lints, I got many errors. In addition, I personally use a stricter linter rules and so I also added few ignore to silence the linter in such cases.In addition, there's no more need for implicit casting in the resulting source code and the
analysis_options.yamlcan practically be removed now.All in all, the generated code is much better now and will run in both
pedanticand the newflutter_lints.PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.For Windows users, please run the script in Git BASH.
master(5.3.0),6.0.x@jimschubert@dr4ke616@karismann@Zomzog@andrewemery@4brunu @yutaka0m @wing328@jaumard@josh-burton@amondnet@sbu-WBT@kuhnroyal@agilob@ahmednfwela