4 ms·
I built a ratchet system for ESLint originally that we’ve extended it to work with TypeScript, Terraform, and Biome linters. integrating with each linger is co
by jitl 8mo ago
I built a ratchet system for ESLint originally that we’ve extended it to work with TypeScript, Terraform, and Biome linters.
integrating with each linger is complex but it pays dividends - it’s so handy to be able to write a new lint rule or introduce an off-the-shelf rule without needing to fix all existing violations.
We maintain allowed error counts on a file-by-file basis which makes it easier for developers to understand where they added the new violation.
blog post: https://www.notion.com/blog/how-we-evolved-our-code-notions-ratcheting-system-using-custom-eslint-rules https://www.notion.com/blog/how-we-evolved-our-code-notions-...
- maxkfranz 8mo agoThis is a really pragmatic approach. Your errors-over-time chart feels pretty accurate to me. The yellow warnings line really sneaks up on you over time.