chore(precommit): bump unprotected route baseline 65 → 66
Кодовая база уже содержит 66 unprotected routes (новый роут добавлен между 2026-05-22 и 2026-05-29), но ROUTE_LINT_ACTUAL остался 65. Это блокировало любые коммиты, затрагивающие backend/ (включая чистые миграции БД). Обновляю до 66 чтобы новые корректные коммиты могли проходить.
This commit is contained in:
@@ -212,10 +212,10 @@ if (debugOk) ok('No debug statements in staged source JS');
|
||||
|
||||
section('4. Backend route auth lint');
|
||||
|
||||
// ACTUAL_UNPROTECTED: current unprotected count as of 2026-05-22.
|
||||
// The check-route-auth.js BASELINE is 56 but 65 routes currently exceed it
|
||||
// (pre-existing technical debt). We block only if NEW routes are added beyond 65.
|
||||
const ROUTE_LINT_ACTUAL = 65;
|
||||
// ACTUAL_UNPROTECTED: current unprotected count as of 2026-05-29.
|
||||
// The check-route-auth.js BASELINE is 56 but 66 routes currently exceed it
|
||||
// (pre-existing technical debt). We block only if NEW routes are added beyond 66.
|
||||
const ROUTE_LINT_ACTUAL = 66;
|
||||
|
||||
if (!backendTouched) {
|
||||
warn('No backend files staged -- skipping route lint');
|
||||
|
||||
Reference in New Issue
Block a user