Skip to content
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

add unintended_html_in_doc_comment; rev to 5.1.0 #211

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ jobs:
publish:
if: ${{ github.repository_owner == 'dart-lang' }}
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
with:
sdk: beta
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
sdk: [3.5, stable, beta]
sdk: [beta] # todo: re-add stable

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 5.1.0

- `core`:
- added [unintended_html_in_doc_comment] (https://github.com/dart-lang/lints/issues/192)
- Updated the SDK lower-bound to 3.6.

[unintended_html_in_doc_comment]: https://dart.dev/lints/unintended_html_in_doc_comment

## 5.0.0

- `recommended`:
Expand Down
1 change: 1 addition & 0 deletions lib/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ linter:
- provide_deprecation_message
- secure_pubspec_urls
- type_literal_in_constant_pattern
- unintended_html_in_doc_comment
- unnecessary_overrides
- unrelated_type_equality_checks
- use_string_in_part_of_directives
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: lints
version: 5.0.0
version: 5.1.0
description: >
Official Dart lint rules. Defines the 'core' and 'recommended' set of lints
suggested by the Dart team.
Expand All @@ -10,7 +10,7 @@ topics:
- lints

environment:
sdk: ^3.5.0
sdk: ^3.6.0-0

# NOTE: Code is not allowed in this package - do not add dependencies.
# dependencies:
Expand Down
1 change: 1 addition & 0 deletions rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
| [`provide_deprecation_message`](https://dart.dev/lints/provide_deprecation_message) | Provide a deprecation message, via `@Deprecated("message")`. | |
| [`secure_pubspec_urls`](https://dart.dev/lints/secure_pubspec_urls) | Use secure urls in `pubspec.yaml`. | |
| [`type_literal_in_constant_pattern`](https://dart.dev/lints/type_literal_in_constant_pattern) | Don't use constant patterns with type literals. | ✅ |
| [`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. | |
| [`unnecessary_overrides`](https://dart.dev/lints/unnecessary_overrides) | Don't override a method to do a super method invocation with the same parameters. | ✅ |
| [`unrelated_type_equality_checks`](https://dart.dev/lints/unrelated_type_equality_checks) | Equality operator `==` invocation with references of unrelated types. | |
| [`use_string_in_part_of_directives`](https://dart.dev/lints/use_string_in_part_of_directives) | Use string in part of directives. | ✅ |
Expand Down
17 changes: 11 additions & 6 deletions tool/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
{
"name": "avoid_catching_errors",
"description": "Don't explicitly catch `Error` or types that implement it.",
"fixStatus": "unregistered"
"fixStatus": "noFix"
},
{
"name": "avoid_classes_with_only_static_members",
Expand Down Expand Up @@ -432,7 +432,7 @@
{
"name": "invalid_runtime_check_with_js_interop_types",
"description": "Avoid runtime type tests with JS interop types where the result may not\n be platform-consistent.",
"fixStatus": "needsFix"
"fixStatus": "needsEvaluation"
},
{
"name": "invariant_booleans",
Expand Down Expand Up @@ -531,7 +531,7 @@
},
{
"name": "no_literal_bool_comparisons",
"description": "Don't compare Boolean expressions to Boolean literals.",
"description": "Don't compare boolean expressions to boolean literals.",
"fixStatus": "hasFix"
},
{
Expand Down Expand Up @@ -884,6 +884,11 @@
"description": "Sort unnamed constructor declarations first.",
"fixStatus": "hasFix"
},
{
"name": "specify_nonobvious_local_variable_types",
"description": "Specify non-obvious type annotations for local variables.",
"fixStatus": "hasFix"
},
{
"name": "super_goes_last",
"description": "Place the `super` call last in a constructor initialization list.",
Expand Down Expand Up @@ -1062,17 +1067,17 @@
{
"name": "unrelated_type_equality_checks",
"description": "Equality operator `==` invocation with references of unrelated types.",
"fixStatus": "unregistered"
"fixStatus": "needsEvaluation"
},
{
"name": "unsafe_html",
"description": "Avoid unsafe HTML APIs.",
"fixStatus": "unregistered"
"fixStatus": "noFix"
},
{
"name": "use_build_context_synchronously",
"description": "Do not use `BuildContext` across asynchronous gaps.",
"fixStatus": "unregistered"
"fixStatus": "noFix"
},
{
"name": "use_colored_box",
Expand Down
Loading