InfoQ
Read post

eslint-rspack-plugin 5.0.0 Ships as a Pure ESM Package, Aligning with the Rstack Ecosystem

eslint-rspack-plugin 5.0.0 has been released as a pure ESM package, dropping its CommonJS build to align with the Rspack 2.0 ecosystem. The change mirrors Rspack's own ESM-only shift and should have minimal impact on most projects since Node.js 20+ supports loading ESM via require(). The plugin still runs ESLint during Rspack compilation with options for caching, flat config, thread pooling, and full-file linting. However, the project README and Rsbuild FAQ both caution that linting during builds can slow compilation, recommending a separate lint command. The release also highlights Rslint, a Go-powered TypeScript-first linter claiming 20–40x speed improvements over ESLint. Developers upgrading from 4.x should verify ESM compatibility and consider adopting ESLint's flat config format.

    #javascript
Aug 04•3m read time•From infoq.com
Post cover image
6K Impressions
InfoQ's image
InfoQ

InfoQ is a leading online platform for software developers, architects, and technical leaders, provi...

1.4K Followers

•

6.2K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard