dharness/max-file-lines
suggestionA file past the ceiling this project set.
Every file stays short enough to read in one sitting. Blank lines and comments count, so the ceiling measures what a reader actually scrolls.
Every file ESLint lints
src/large.ts.dharness/rules.json1{ "maxFileLines": 4 }src/large.ts1const line0 = 0;2const line1 = 1;3const line2 = 2;4const line3 = 3;5const line4 = 4;6const line5 = 5;7const line6 = 6;8const line7 = 7;9const line8 = 8;1:1This file has 9 lines, over the 4 this project allows. Split it.
{ "schema": "dharness.rules/v1", "maxFileLines": 500, "roleSuffixes": [".types.ts", ".constants.ts", ".helpers.ts", ".schema.ts"]}The numbers live in `.dharness/rules.json`, so one project can differ from another without publishing a new version. A missing or unreadable file falls back to the defaults, and every other rule keeps running.



