Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit a97011b

Browse files
authored
add unintended_html_in_doc_comment; rev to 5.1.0 (#211)
* add unintended_html_in_doc_comment; rev to 5.1.0 * use 3.6 beta
1 parent af68bf0 commit a97011b

File tree

7 files changed

+26
-9
lines changed

7 files changed

+26
-9
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ jobs:
1212
publish:
1313
if: ${{ github.repository_owner == 'dart-lang' }}
1414
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
15+
with:
16+
sdk: beta

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
sdk: [3.5, stable, beta]
20+
sdk: [beta] # todo: re-add stable
2121

2222
steps:
2323
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 5.1.0
2+
3+
- `core`:
4+
- added [unintended_html_in_doc_comment] (https://github.com/dart-lang/lints/issues/192)
5+
- Updated the SDK lower-bound to 3.6.
6+
7+
[unintended_html_in_doc_comment]: https://dart.dev/lints/unintended_html_in_doc_comment
8+
19
## 5.0.0
210

311
- `recommended`:

lib/core.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ linter:
3434
- provide_deprecation_message
3535
- secure_pubspec_urls
3636
- type_literal_in_constant_pattern
37+
- unintended_html_in_doc_comment
3738
- unnecessary_overrides
3839
- unrelated_type_equality_checks
3940
- use_string_in_part_of_directives

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: lints
2-
version: 5.0.0
2+
version: 5.1.0
33
description: >
44
Official Dart lint rules. Defines the 'core' and 'recommended' set of lints
55
suggested by the Dart team.
@@ -10,7 +10,7 @@ topics:
1010
- lints
1111

1212
environment:
13-
sdk: ^3.5.0
13+
sdk: ^3.6.0-0
1414

1515
# NOTE: Code is not allowed in this package - do not add dependencies.
1616
# dependencies:

rules.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
| [`provide_deprecation_message`](https://dart.dev/lints/provide_deprecation_message) | Provide a deprecation message, via `@Deprecated("message")`. | |
3434
| [`secure_pubspec_urls`](https://dart.dev/lints/secure_pubspec_urls) | Use secure urls in `pubspec.yaml`. | |
3535
| [`type_literal_in_constant_pattern`](https://dart.dev/lints/type_literal_in_constant_pattern) | Don't use constant patterns with type literals. ||
36+
| [`unintended_html_in_doc_comment`](https://dart.dev/lints/unintended_html_in_doc_comment) | Use of angle brackets in a doc comment is treated as HTML by Markdown. | |
3637
| [`unnecessary_overrides`](https://dart.dev/lints/unnecessary_overrides) | Don't override a method to do a super method invocation with the same parameters. ||
3738
| [`unrelated_type_equality_checks`](https://dart.dev/lints/unrelated_type_equality_checks) | Equality operator `==` invocation with references of unrelated types. | |
3839
| [`use_string_in_part_of_directives`](https://dart.dev/lints/use_string_in_part_of_directives) | Use string in part of directives. ||

tool/rules.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
{
6363
"name": "avoid_catching_errors",
6464
"description": "Don't explicitly catch `Error` or types that implement it.",
65-
"fixStatus": "unregistered"
65+
"fixStatus": "noFix"
6666
},
6767
{
6868
"name": "avoid_classes_with_only_static_members",
@@ -432,7 +432,7 @@
432432
{
433433
"name": "invalid_runtime_check_with_js_interop_types",
434434
"description": "Avoid runtime type tests with JS interop types where the result may not\n be platform-consistent.",
435-
"fixStatus": "needsFix"
435+
"fixStatus": "needsEvaluation"
436436
},
437437
{
438438
"name": "invariant_booleans",
@@ -531,7 +531,7 @@
531531
},
532532
{
533533
"name": "no_literal_bool_comparisons",
534-
"description": "Don't compare Boolean expressions to Boolean literals.",
534+
"description": "Don't compare boolean expressions to boolean literals.",
535535
"fixStatus": "hasFix"
536536
},
537537
{
@@ -884,6 +884,11 @@
884884
"description": "Sort unnamed constructor declarations first.",
885885
"fixStatus": "hasFix"
886886
},
887+
{
888+
"name": "specify_nonobvious_local_variable_types",
889+
"description": "Specify non-obvious type annotations for local variables.",
890+
"fixStatus": "hasFix"
891+
},
887892
{
888893
"name": "super_goes_last",
889894
"description": "Place the `super` call last in a constructor initialization list.",
@@ -1062,17 +1067,17 @@
10621067
{
10631068
"name": "unrelated_type_equality_checks",
10641069
"description": "Equality operator `==` invocation with references of unrelated types.",
1065-
"fixStatus": "unregistered"
1070+
"fixStatus": "needsEvaluation"
10661071
},
10671072
{
10681073
"name": "unsafe_html",
10691074
"description": "Avoid unsafe HTML APIs.",
1070-
"fixStatus": "unregistered"
1075+
"fixStatus": "noFix"
10711076
},
10721077
{
10731078
"name": "use_build_context_synchronously",
10741079
"description": "Do not use `BuildContext` across asynchronous gaps.",
1075-
"fixStatus": "unregistered"
1080+
"fixStatus": "noFix"
10761081
},
10771082
{
10781083
"name": "use_colored_box",

0 commit comments

Comments
 (0)