-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
featureA new feature or requestA new feature or requestp1High-priority issues at the top of the work listHigh-priority issues at the top of the work list
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(lintsis waiting for the next major, but the Dart team agrees that this is stable Consider addinginvalid_runtime_check_with_js_interop_typesto therecommendedrule set dart-lang/core#824), -
unnecessary_library_name(Now recommended: Consider addingunnecessary_library_nameto 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 fromasyncfunctions. dart-lang/language#870), -
avoid_null_checks_in_equality_operators(Removeavoid_null_checks_in_equality_operatorsfrom recommended dart-lang/core#829), -
library_names(remove the 'library_names' lint dart-archive/lints#183) -
package_prefixed_library_names(Removepackage_prefixed_library_namesfrom core set (and deprecate) dart-lang/core#818), and -
prefer_void_to_null(removeprefer_void_to_nullfrom 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 🤷♂️
ArturLansoni and KoheiKanagualestiago
Metadata
Metadata
Assignees
Labels
featureA new feature or requestA new feature or requestp1High-priority issues at the top of the work listHigh-priority issues at the top of the work list
Type
Projects
Status
Done