Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Apply check-for-equals-in-render-object-setters & consistent-update-render-object to popular packages on pub.dev automatically #1005

Open
fzyzcjy opened this issue Sep 18, 2022 · 1 comment
Labels
type: enhancement New feature or request

Comments

@fzyzcjy
Copy link
Contributor

fzyzcjy commented Sep 18, 2022

We all know that, the code quality of (popular) packages on pub.dev usually will not be higher than the Flutter framework itself. Therefore, given that the two linter rules have found out about 7 issues in the flutter framework itself, I guess it will also find out many for (popular) packages on pub.dev.

Thus, I suggest that, we may download the (popular) packages on pub.dev, and scan them just like scanning flutter framework. Then, we can even use GitHub's API (the gh command line, or the restful api, etc) to automatically raise issues onto the github issue tracker for those packages.

As for the details: To avoid scanning too many, we may simply scan the most popular packages (https://pub.dev/packages?sort=popularity), or the 67 flutter-favorite packages (https://pub.dev/packages?q=is%3Aflutter-favorite) etc. We may also make the linter has less false positives to avoid labor work of checking every result.

@incendial incendial added the type: enhancement New feature or request label Sep 19, 2022
@incendial
Copy link
Member

Oh, automating such process would be a great thing, actually!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants