Files
oh-my-pi/.fallowrc.jsonc
T
can1357 f1f6516056 refactor: reorganized exports and removed obsolete helper branches
- Removed export leakage by demoting many helper and const symbols to module-local scope.
- Renamed underscore-prefixed internals and cache fields, then updated related references and `satisfies never` checks.
- Deleted obsolete logic branches and helpers, including harmony-stream interruption flow and unused benchmark runtime helpers.
- Updated Biome config and manifests by broadening lint coverage and removing an unused `@napi-rs/cli` dev dependency.
- Adjusted tests and utilities to use renamed test helpers and remove redundant private test-only helpers/locals.
2026-05-14 04:36:19 +02:00

30 lines
1.2 KiB
JSON

{
// Fallow configuration — see `bunx fallow config-schema` for the full schema.
//
// `entry` is critical: fallow's dead-code analyzer treats unlisted test files
// as unreachable, which means any helper imported only from other tests looks
// orphaned. Without this, `fallow fix` strips real `export` keywords from
// shared test utilities (e.g. `e2eApiKey`, `withEnv`, `waitForDelayOrAbort`),
// breaking the test build with `noUnusedVariables` lint errors.
"entry": [
"packages/*/test/**/*.{ts,tsx}",
"packages/*/test/**/*.test.{ts,tsx}",
"packages/*/bench/**/*.{ts,tsx}",
"packages/*/scripts/**/*.ts"
],
"duplicates": {
"ignore": [
// Generated from `packages/natives/scripts/native-index.template.js` via gen-enums.ts.
"packages/natives/native/index.js",
// Generated by `packages/coding-agent/scripts/generate-docs-index.ts`.
"packages/coding-agent/src/internal-urls/docs-index.generated.ts",
// Embedded HTML asset shipped as a static template, not a code module.
"packages/coding-agent/src/export/html/template.js",
// Generated/owned upstream — see packages/ai/scripts/generate-models.ts.
"packages/ai/src/models.json"
],
"ignoreImports": true
},
"rules": {}
}