From 3f9f5fce5de228a45a5112f7bf71313f7f94fe75 Mon Sep 17 00:00:00 2001 From: Illia Aihistov Date: Thu, 20 Aug 2026 15:07:36 +0300 Subject: [PATCH 1/3] docs: add documentation for recommended third-party packages undead and cognitive_complexity --- .../docs/3_other_notable_packages.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 doc/docusaurus/docs/3_other_notable_packages.md diff --git a/doc/docusaurus/docs/3_other_notable_packages.md b/doc/docusaurus/docs/3_other_notable_packages.md new file mode 100644 index 00000000..f5f8300a --- /dev/null +++ b/doc/docusaurus/docs/3_other_notable_packages.md @@ -0,0 +1,46 @@ +--- +sidebar_label: Other notable packages +sidebar_position: 3 +--- + +# Other Notable Packages + +Recommended third-party tools that complement `solid_lints` in keeping Dart and +Flutter codebases clean, robust, and maintainable. + +## [undead](https://pub.dev/packages/undead) + +[![pub package](https://img.shields.io/pub/v/undead.svg)](https://pub.dev/packages/undead) + +Deterministic reachability and dead/unused declaration analysis for Dart and +Flutter packages. + +It performs whole-package AST analysis using `package:analyzer` to build a +reachability graph from known entrypoints to all internal declarations, +identifying unused top-level declarations, classes, functions, and variables. + +```bash +dart run undead@ +``` + +- **Links**: [pub.dev](https://pub.dev/packages/undead) · + [GitHub](https://github.com/kevmoo/undead) + +--- + +## [cognitive_complexity](https://pub.dev/packages/cognitive_complexity) + +[![pub package](https://img.shields.io/pub/v/cognitive_complexity.svg)](https://pub.dev/packages/cognitive_complexity) + +Algorithmic Cognitive Complexity calculation and Data-Flow analysis library and +CLI tools for Dart and Flutter. + +It implements the Cognitive Complexity principles articulated by SonarSource, +providing an objective way to find and fix overly complex logic and routines. + +```bash +dart run cognitive_complexity@ +``` + +- **Links**: [pub.dev](https://pub.dev/packages/cognitive_complexity) · + [GitHub](https://github.com/kevmoo/analytica.dart/tree/main/packages/cognitive_complexity) From 1123a4c4dbdf1e1e54d5f6b6bba83f69d1ccccd2 Mon Sep 17 00:00:00 2001 From: Illia Aihistov Date: Thu, 20 Aug 2026 15:16:02 +0300 Subject: [PATCH 2/3] docs: update GitHub repository link for undead package --- doc/docusaurus/docs/3_other_notable_packages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docusaurus/docs/3_other_notable_packages.md b/doc/docusaurus/docs/3_other_notable_packages.md index f5f8300a..2019c68c 100644 --- a/doc/docusaurus/docs/3_other_notable_packages.md +++ b/doc/docusaurus/docs/3_other_notable_packages.md @@ -24,7 +24,7 @@ dart run undead@ ``` - **Links**: [pub.dev](https://pub.dev/packages/undead) · - [GitHub](https://github.com/kevmoo/undead) + [GitHub](https://github.com/kevmoo/analytica.dart/tree/main/packages/undead) --- From 5bd38c7b1125367da513edce7d4408cf0ab0c586 Mon Sep 17 00:00:00 2001 From: Illia Aihistov Date: Thu, 20 Aug 2026 18:32:38 +0300 Subject: [PATCH 3/3] docs: update notable packages documentation by removing command snippets and refining introductory text --- doc/docusaurus/docs/3_other_notable_packages.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/doc/docusaurus/docs/3_other_notable_packages.md b/doc/docusaurus/docs/3_other_notable_packages.md index 2019c68c..a749d515 100644 --- a/doc/docusaurus/docs/3_other_notable_packages.md +++ b/doc/docusaurus/docs/3_other_notable_packages.md @@ -5,7 +5,7 @@ sidebar_position: 3 # Other Notable Packages -Recommended third-party tools that complement `solid_lints` in keeping Dart and +Notable third-party tools that complement `solid_lints` in keeping Dart and Flutter codebases clean, robust, and maintainable. ## [undead](https://pub.dev/packages/undead) @@ -19,10 +19,6 @@ It performs whole-package AST analysis using `package:analyzer` to build a reachability graph from known entrypoints to all internal declarations, identifying unused top-level declarations, classes, functions, and variables. -```bash -dart run undead@ -``` - - **Links**: [pub.dev](https://pub.dev/packages/undead) · [GitHub](https://github.com/kevmoo/analytica.dart/tree/main/packages/undead) @@ -38,9 +34,5 @@ CLI tools for Dart and Flutter. It implements the Cognitive Complexity principles articulated by SonarSource, providing an objective way to find and fix overly complex logic and routines. -```bash -dart run cognitive_complexity@ -``` - - **Links**: [pub.dev](https://pub.dev/packages/cognitive_complexity) · [GitHub](https://github.com/kevmoo/analytica.dart/tree/main/packages/cognitive_complexity)