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:
Maxim Dolgolyov
2026-05-29 10:13:09 +03:00
parent 8cb461827c
commit 8dcd54d206
7 changed files with 1244 additions and 4 deletions
+4 -4
View File
@@ -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');