Show HN: JavaScript linter for keeping files small and modular
1–6 of 6 posts
Re: Show HN: JavaScript linter for keeping files small and modular
#2why that name
Re: Show HN: JavaScript linter for keeping files small and modular
#3why that name
Do you find it inaccurate?
Re: Show HN: JavaScript linter for keeping files small and modular
#4Re: Show HN: JavaScript linter for keeping files small and modular
#5> your files must be wider than they are long
I don't understand why this is good or bad, can you please elaborate why this is a useful rule to follow?
Re: Show HN: JavaScript linter for keeping files small and modular
#6> your files must be wider than they are long I don't understand why this is good or bad, can you please elaborate why this is a useful rule to follow?
Yeah totally fair question! For me it was motivated from seeing too many bloated, multi-use classes and files in enterprise codebases.
Keeping the file wider than it is long is a simple heuristic to make sure files don't grow out of their original scope and are instead split up based on separation of concerns, without just picking some arbitrary line number.