Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions mobile/scripts/file-size-policy.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
export const rules = [
// Fork only (QuicksilverSlick/buzz #155): Block's compose bar arrives at 1202
// lines in one catch-up merge. Block's own ratchet allows it because Block's
// base was already over the limit; ours was 1120, so the merge reads as growth.
// shortcut: one-time ceiling for a Block-owned folder; remove it once #155 is
// on main (the base is then over the limit, so hold-or-shrink applies anyway).
{
root: "lib/features/channels/compose_bar",
extensions: new Set([".dart"]),
maxLines: 1202,
},
{
root: "lib",
extensions: new Set([".dart"]),
Expand Down
8 changes: 1 addition & 7 deletions scripts/check-file-sizes-core.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,7 @@ test("surface entrypoints expose the exact ordered production policies", () => {
["src/shared/styles", [".css"], 1200],
],
],
[
mobilePolicy,
[
["lib/features/channels/compose_bar", [".dart"], 1202],
["lib", [".dart"], 1200],
],
],
[mobilePolicy, [["lib", [".dart"], 1200]]],
[
webPolicy,
[
Expand Down
Loading