yceffort
03 POSTS

Eslint 1

  • #rust#markdown#oss

    The Real Cost of Drop-in Compatibility: What I Threw Away Porting markdownlint-cli2 to Rust

    I ported markdownlint-cli2 to Rust and matched 264,114 diagnostics on this blog repository byte for byte. Porting 51 rules took a single day, but turning that into a tool you could actually swap in took two weeks. Along the way I gave up a parser 37 times faster, corrected two misreadings of performance measurements, and found 11 more compatibility differences in an adversarial review.

    26 min read
  • #typescript#blogging#npm

    What Happens When You Install typescript@7: A Blog Monorepo Migration Log

    I dropped typescript 7.0.2 into a monorepo where pnpm lint took 12 minutes 32 seconds. Type checking passed, but next build broke and lint crashed, so I spent a day swapping eslint and prettier for oxlint and oxfmt. Lint now finishes in 1.9 seconds even with type-aware rules, and the build takes as long as before.

    11 min read
  • #react#eslint#web-performance

    React's New Lint Rule: set-state-in-effect

    Why you shouldn't call setState in Effects and what alternatives exist

    7 min read