-
Notifications
You must be signed in to change notification settings - Fork 39
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
Comments
Oh, and the reason for |
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
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 🙌 |
Oh, and 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. |
Just reviewed this with the team. We have all the suggestions implemented except for |
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:
unintended_html_in_doc_comment
(wait a release to check for false positives perunintended_html_in_doc_comment
- add to recommended set dart-lang/lints#192 (comment)?),invalid_runtime_check_with_js_interop_types
(lints
is waiting for the next major, but the Dart team agrees that this is stable Consider addinginvalid_runtime_check_with_js_interop_types
to therecommended
rule set dart-lang/lints#188),unnecessary_library_name
(Now recommended: Consider addingunnecessary_library_name
to recommended dart-lang/lints#181),document_ignores
(Not experimental, I've found it useful in other ecosystems),avoid_catches_without_on_clauses
(Noted false positives have been fixed),type_literal_in_constant_pattern
(Now recommended: add several rules to core and recommended dart-lang/lints#150).Also, remove
unnecessary_await_in_return
(It's be mentioned a few times as likely to be deprecated in favor of Disallow returning futures fromasync
functions. dart-lang/language#870),avoid_null_checks_in_equality_operators
(Removeavoid_null_checks_in_equality_operators
from recommended dart-lang/lints#200),library_names
(remove the 'library_names' lint dart-lang/lints#183)package_prefixed_library_names
(Removepackage_prefixed_library_names
from core set (and deprecate) dart-lang/lints#172), andprefer_void_to_null
(removeprefer_void_to_null
from recommended dart-lang/lints#154; I've run into these false-positives).Describe alternatives you've considered
Again, put them in manually.
Additional context
I'll PR this, if desired. Not really context, but 🤷♂️
The text was updated successfully, but these errors were encountered: