Skip to content
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

Update Lints #107

Closed
10 of 11 tasks
lishaduck opened this issue Aug 10, 2024 · 5 comments
Closed
10 of 11 tasks

Update Lints #107

lishaduck opened this issue Aug 10, 2024 · 5 comments
Assignees
Labels
feature A new feature or request p1 High-priority issues at the top of the work list

Comments

@lishaduck
Copy link
Contributor

lishaduck commented Aug 10, 2024

Hi, it's me again!

Is your feature request related to a problem? Please describe.
Update lints for Dart 3.5 (part of #108)

Describe the solution you'd like
Add:

Also, remove

Describe alternatives you've considered
Again, put them in manually.

Additional context
I'll PR this, if desired. Not really context, but 🤷‍♂️

@lishaduck
Copy link
Contributor Author

Oh, and the reason for prefer_final_parameters is that it's incompatible with avoid_final_parameters.

@tomarra tomarra moved this from Needs Triage to Todo in VGV Open Source 🦄 🧙🌟 Aug 13, 2024
@tomarra tomarra added feature A new feature or request p1 High-priority issues at the top of the work list labels Aug 13, 2024
@alestiago
Copy link
Contributor

alestiago commented Aug 14, 2024

Hi @lishaduck thanks for suggesting these new additions. I haven't had a time to have a deep dive into the false positives and read through the issues. The team will probably jump into these soon.

If you would like to contribute we're open for Pull Requests. From the ones you listed unnecessary_library_name seems like a reasonable addition since it is now recommend, are you interested in drafting a PR for it? It will be nice if we also update the recommendation table with it (see the linter rules tool).


Oh, and the reason for prefer_final_parameters is that it's incompatible with avoid_final_parameters.

Thanks for pointing this out! Feel free to open a Pull Request updating the reason and the team can jump into reviewing it to get it merged 🙌

@lishaduck
Copy link
Contributor Author

lishaduck commented Aug 18, 2024

Oh, and type_literal_in_constant_pattern is in recommended now.


I'm looking through the lints repo to find as many exclusion reasons as possible, so I've also updated the list of lints to remove.

@lishaduck lishaduck moved this from Todo to In Progress in @lishaduck's todo list Aug 26, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in @lishaduck's todo list Sep 2, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in VGV Open Source 🦄 🧙🌟 Sep 2, 2024
@alestiago alestiago reopened this Sep 2, 2024
@github-project-automation github-project-automation bot moved this from Done to Needs Triage in VGV Open Source 🦄 🧙🌟 Sep 2, 2024
@tomarra tomarra moved this from Needs Triage to Todo in VGV Open Source 🦄 🧙🌟 Sep 3, 2024
@lishaduck lishaduck moved this from Done to Blocked in @lishaduck's todo list Sep 19, 2024
@wolfenrain
Copy link
Member

wolfenrain commented Nov 11, 2024

Opened #121, #122 and #123 to add the mentioned lint rules. I would like to add document_ignores as well but I'll need t o check in with our devs at VGV to see if they see the added value as well.

Also opened #124 to remove avoid_null_checks_in_equality_operators

@tomarra
Copy link
Contributor

tomarra commented Dec 10, 2024

Just reviewed this with the team. We have all the suggestions implemented except for unnecessary_await_in_return which we want to hold on for now as the Dart team has not deprecated it yet. Were going to open up a new ticket to track that for the future and will tag this ticket in the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or request p1 High-priority issues at the top of the work list
Projects
Status: Done
Development

No branches or pull requests

4 participants