0
Fork 0
mirror of https://github.com/TanStack/db.git synced 2026-11-16 06:56:43 +00:00
db/lint-staged.config.js
Kyle Mathews 00f07dba15
feat(oracles): require every oracle test to reach a declared part (#2278)
Adds the oracle/no-unit-test lint rule and migrates every oracle file to declare its check, model, and grammar with declareOracle. Tests that reach no declared part move unchanged to ordinary test files (#2264 tracks the laws left with fixed tests only). The run-count script follows imports and reports removed budgets, the lint selection re-lints dependent and .js oracle files, and replay owners are checked. Generated oracles cover the rule (lint.part-reach), the run-count script (scripts.run-budget), and the lint selection (scripts.lint-scope).

Refs #2234.

Co-authored-by: Isaac <no-reply@databricks.com>
2026-10-28 08:42:38 -06:00

31 lines
1.2 KiB