From a13465affb26bd13f806016682f6fae68cb14f4a Mon Sep 17 00:00:00 2001 From: benjamineckstein <13351939+benjamineckstein@users.noreply.github.com> Date: Sat, 6 Jun 2026 23:30:25 +0200 Subject: [PATCH] chore: fix fallow dead-code false positives for docs site fallow flagged docs/src/components/Footer.astro and docs/src/styles/custom.css as unused files. Both are reachable, just through Starlight config strings (components.Footer override and customCss) in docs/astro.config.mjs that fallow's static analysis cannot trace. Declare them as fallow entry points so they are correctly treated as reachable instead of deleting working files. Also ignore docs/dist/** build output for scan hygiene. dead-code: 2 issues -> 0. --- .fallowrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.fallowrc.json b/.fallowrc.json index 742200a..8599b11 100644 --- a/.fallowrc.json +++ b/.fallowrc.json @@ -1,6 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/fallow-rs/fallow/main/schema.json", - "ignorePatterns": ["dist/**", "node_modules/**", "coverage/**"], + "ignorePatterns": ["dist/**", "docs/dist/**", "node_modules/**", "coverage/**"], + "entry": ["docs/src/components/Footer.astro", "docs/src/styles/custom.css"], "rules": { "unused-files": "warn", "unused-exports": "warn",