1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-03 00:08:46 +00:00

[linter] Update linter details for newest lints

Change-Id: If2ff9ea645c77cd4912f0bc6626468aa375b366e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366970
Auto-Submit: Parker Lougheed <parlough@gmail.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
Parker Lougheed 2024-05-20 15:03:46 +00:00 committed by Commit Queue
parent 0861c8d3b7
commit 10a38d0fd1
4 changed files with 114 additions and 80 deletions

View File

@ -19,6 +19,16 @@
### Tools
#### Linter
- Added the [`unintended_html_in_doc_comment`][] lint.
- Added the [`invalid_runtime_check_with_js_interop_types`][] lint.
- Added the [`document_ignores`][] lint.
[`unintended_html_in_doc_comment`]: https://dart.dev/lints/unintended_html_in_doc_comment
[`invalid_runtime_check_with_js_interop_types`]: https://dart.dev/lints/invalid_runtime_check_with_js_interop_types
[`document_ignores`]: https://dart.dev/lints/document_ignores
#### Pub
- New flag `dart pub downgrade --tighten` to restrict lower bounds of

View File

@ -1,6 +1,8 @@
# 3.5.0-wip
- new lint: `unintended_html_in_doc_comment`
- new lint: `invalid_runtime_check_with_js_interop_types`
- new lint: `document_ignores`
- update `noop_primitive_operations` to allow an empty string literal at the
beginning or end of adjacent string literals:
@ -25,7 +27,6 @@
- new lint: `unnecessary_library_name`
- new lint: `missing_code_block_language_in_doc_comment`
- new lint: `invalid_runtime_check_with_js_interop_types`
# 3.3.0

File diff suppressed because one or more lines are too long

View File

@ -69,6 +69,7 @@ deprecated_member_use_from_same_package: 3.0.0
diagnostic_describe_all_properties: 2.3.0
directives_ordering: 2.0.0
discarded_futures: 2.18.0
document_ignores: 3.5.0-wip
do_not_use_environment: 2.9.0
empty_catches: 2.0.0
empty_constructor_bodies: 2.0.0
@ -83,7 +84,7 @@ implementation_imports: 2.0.0
implicit_call_tearoffs: 2.19.0
implicit_reopen: 3.0.0
invalid_case_patterns: 3.0.0
invalid_runtime_check_with_js_interop_types: 3.4.0-wip
invalid_runtime_check_with_js_interop_types: 3.5.0-wip
invariant_booleans: 2.0.0
iterable_contains_unrelated_type: 2.0.0
join_return_with_assignment: 2.0.0