From 6ff2c4c38d72fd201f766ee11633fa569321fa3f Mon Sep 17 00:00:00 2001 From: Jochum van der Ploeg Date: Tue, 29 Oct 2024 14:31:39 +0100 Subject: [PATCH 1/2] chore: Remove the `package_api_docs` lint in next release --- lib/analysis_options.7.0.0.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/analysis_options.7.0.0.yaml b/lib/analysis_options.7.0.0.yaml index c791945..b28825d 100644 --- a/lib/analysis_options.7.0.0.yaml +++ b/lib/analysis_options.7.0.0.yaml @@ -110,7 +110,6 @@ linter: - one_member_abstracts - only_throw_errors - overridden_fields - - package_api_docs - package_names - parameter_assignments - prefer_adjacent_string_concatenation From b660b9a28ed09bdbd435acf9e78bc57ad8009ef3 Mon Sep 17 00:00:00 2001 From: Jochum van der Ploeg Date: Tue, 29 Oct 2024 17:39:48 +0100 Subject: [PATCH 2/2] chore: Remove the `package_api_docs` lint in next release --- README.md | 1 + tool/linter_rules/exclusion_reasons.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c53e007..81cc3d0 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,7 @@ Below is a list of rules that are not enabled by default together with the reaso | [`unreachable_from_main`](https://dart.dev/tools/linter-rules/unreachable_from_main) | Not specified | | [`unsafe_html`](https://dart.dev/tools/linter-rules/unsafe_html) | Not specified | | [`use_decorated_box`](https://dart.dev/tools/linter-rules/use_decorated_box) | [Has unresolved malfunctions](https://github.com/dart-lang/linter/issues/3286) | +| [`package_api_docs`](https://dart.dev/tools/linter-rules/package_api_docs) | Has been deprecated and [will be removed](https://github.com/dart-lang/linter/issues/5107) | diff --git a/tool/linter_rules/exclusion_reasons.json b/tool/linter_rules/exclusion_reasons.json index 37b2919..0cfaeba 100644 --- a/tool/linter_rules/exclusion_reasons.json +++ b/tool/linter_rules/exclusion_reasons.json @@ -30,5 +30,6 @@ "unnecessary_null_aware_operator_on_extension_on_nullable": "Not specified", "unreachable_from_main": "Not specified", "unsafe_html": "Not specified", - "use_decorated_box": "[Has unresolved malfunctions](https://github.com/dart-lang/linter/issues/3286)" + "use_decorated_box": "[Has unresolved malfunctions](https://github.com/dart-lang/linter/issues/3286)", + "package_api_docs": "Has been deprecated and [will be removed](https://github.com/dart-lang/linter/issues/5107)" }