diff --git a/.fallowrc.json b/.fallowrc.json index 2b353c75..dd38c3e2 100644 --- a/.fallowrc.json +++ b/.fallowrc.json @@ -1,8 +1,13 @@ { "$schema": "https://raw.githubusercontent.com/fallow-rs/fallow/main/schema.json", "entry": [ - "fixtures/react-compat/rsbuild.config.mjs", - "storybook/stories/**/*.mdx" + "apps/docs/blume.config.ts", + "apps/docs/components.ts", + "apps/docs/docs/**/*.mdx", + "apps/docs/docs/**/meta.ts", + "apps/docs/islands/ObserverDemo.tsx", + "apps/storybook/stories/**/*.mdx", + "packages/react-intersection-observer/fixtures/react-compat/rsbuild.config.mjs" ], "ignoreDependencies": [ "@rsbuild/core", @@ -33,25 +38,69 @@ "maxCognitive": 15, "maxCrap": 30, "maxUnitSize": 60, - "coverage": "coverage/coverage-final.json", + "coverage": "packages/react-intersection-observer/coverage/coverage-final.json", "thresholdOverrides": [ { - "files": ["storybook/stories/elements.tsx"], + "files": ["apps/storybook/stories/elements.tsx"], "functions": ["EntryDetails", "ScrollWrapper"], "maxCrap": 31, "reason": "Interactive Storybook demos are intentionally excluded from unit coverage; retain the default structural complexity limits while allowing these two estimated CRAP scores." }, { - "files": ["storybook/stories/useInView.story.tsx"], + "files": ["apps/storybook/stories/useInView.story.tsx"], "functions": ["HooksRender"], "maxCrap": 43, "reason": "This interactive Storybook demo is intentionally excluded from unit coverage; retain the default structural complexity limits while allowing its estimated CRAP score." }, { - "files": ["storybook/stories/useOnInView.story.tsx"], + "files": ["apps/storybook/stories/useOnInView.story.tsx"], "functions": ["UseOnInViewRender"], "maxCrap": 57, "reason": "This interactive Storybook demo is intentionally excluded from unit coverage; retain the default structural complexity limits while allowing its measured CRAP score of 56." + }, + { + "files": ["apps/docs/components/Logo.astro"], + "functions": ["