Closed
Description
Hi, it's me again!
Is your feature request related to a problem? Please describe.
Update lints for Dart 3.5 (part of dart-archive/lints#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/core#826?), -
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/core#824), -
unnecessary_library_name
(Now recommended: Consider addingunnecessary_library_name
to recommended dart-lang/core#823), -
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-archive/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/core#829), -
library_names
(remove the 'library_names' lint dart-archive/lints#183) -
package_prefixed_library_names
(Removepackage_prefixed_library_names
from core set (and deprecate) dart-lang/core#818), and -
prefer_void_to_null
(removeprefer_void_to_null
from recommended dart-lang/core#812; 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 🤷♂️
Metadata
Metadata
Assignees
Type
Projects
Status
Done