Rulebearing Playground Coverage Schemas GitHub

ADR-0036: Markdown fences are read for a native configuration; a dependency-cruiser one keeps upstream's extraExtensionsToScan

Context

FR-EXT-TS-04 says Markdown code fences MUST be scanned when .md is listed in extraExtensionsToScan, and the coverage tab's row "Markdown code fences (.md, via extraExtensionsToScan)" calls that Parity. dependency-cruiser 18.2.0 does the opposite. Its options reference says it "will take special care not to even read" a file whose extension is in extraExtensionsToScan, and its own test ("does not parse files matching extensions in the extraExtensionsToScan array", recorded in gate 1 layer 1) proves it. A repository lists .md there so that orphan and reachability rules see its Markdown files as modules with no dependencies. Reading their fences would give those modules edges: a README whose example imports src/index.ts would stop being an orphan and would make src/index.ts reachable, and rules would report differently from dependency-cruiser on the same configuration. The wave 1 fixture tests/options/extra-extensions asserts upstream's behaviour for exactly this case.

Decision

Consequences

Alternatives considered