chore: update lint rules (WIP)

This commit is contained in:
2026-09-10 21:15:15 +05:00
parent 75f6891e7c
commit 4223ee6aa9
2 changed files with 41 additions and 14 deletions
@@ -17,13 +17,16 @@
import fs from "node:fs";
import path from "node:path";
const DEFAULT_OLD = ["routes/(old)/**", "lib/old/**"];
// FIXME: change paths to new ones
// TODO: test case for this lint rules
const DEFAULT_OLD = ["routes/v1/**", "lib/v1/**"];
const DEFAULT_NEW = [
"routes/preview/**",
"routes/**",
"lib/components/kit/**",
"lib/preview/**",
"lib/registry-new/**",
"lib/**",
"lib/registry/**",
"lib/registry-schema.ts",
"lib/registry-schema.test.ts",
];