← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

eslint-rspack-plugin 5.0.0 Released as Pure ESM Package

🔄 Updated 1d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • eslint-rspack-plugin 5.0.0 is now a pure ESM package.
  • CommonJS build has been removed.
  • Aligns with Rspack 2.0's module loading strategy.
  • Functionality for running ESLint during Rspack compilation remains.

Pure ESM Release

eslint-rspack-plugin, which integrates ESLint checks into Rspack compilation, has released version 5.0.0. The primary change in this release is its publication as a pure ESM (ECMAScript Module) package, with the removal of its CommonJS build.

Ecosystem Alignment

This shift to pure ESM aligns the plugin with the broader Rspack ecosystem, specifically mirroring Rspack 2.0. Rspack 2.0 also transitioned its core packages to pure ESM, dropping CommonJS builds to standardize module loading and conform to current Node.js practices. Most projects using the plugin via the JavaScript API should not require code changes, as Node.js 20 and later can load ESM modules using `require(esm)`.

Continued Functionality and Configuration

The plugin retains its core functionality, running ESLint as part of the build process and re-running checks only on changed files in watch mode. Configuration options carried into the 5.x line include caching (on by default), `configType` for ESLint config formats, `threads` for parallel linting, and `lintAllFiles` for comprehensive linting across multi-environment builds. Its configuration interface remains familiar to webpack users, as it was forked from `eslint-webpack-plugin`.

Performance Considerations and Alternatives

The project's README advises that running ESLint during the build can increase build times, suggesting a separate lint command for efficiency. This recommendation is also present in `@rsbuild/plugin-eslint` and the Rsbuild FAQ, which notes that Rsbuild does not run ESLint by default to protect compilation performance. The Rstack team now offers Rslint, a TypeScript-first, Go-written linter that claims 20 to 40 times faster linting than traditional ESLint setups, presenting a faster alternative for build speed optimization.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 15

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

eslint-rspack-plugin version 5.0.0 has been released as a pure ESM package, removing its CommonJS build to align with the Rspack ecosystem. This change mirrors Rspack 2.0's move to pure ESM, aiming for consistent module loading practices.