Wes
2026-06-30 12:27:37 -07:00
committed by GitHub
co-authored by Pinky Brain
parent 34d61acc95
commit 71b2c41e92
31 changed files with 3904 additions and 3886 deletions
+30
View File
@@ -0,0 +1,30 @@
import path from "node:path";
import { fileURLToPath } from "node:url";
import { runFileSizeCheck } from "../../scripts/check-file-sizes-core.mjs";
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const projectRoot = path.resolve(__dirname, "..");
const MAX_LINES = 1000;
const rules = [
{
root: "lib",
extensions: new Set([".dart"]),
maxLines: MAX_LINES,
},
];
// TEMP — these files exceed the 1000-line limit and are queued to be split.
// Do not add to this list; split the file instead. Remove each entry as its
// file is broken up.
const overrides = new Map([
]);
await runFileSizeCheck({
projectRoot,
rules,
overrides,
label: "Mobile",
scriptPath: "mobile/scripts/check-file-sizes.mjs",
});