<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/eslint-rspack-plugin-5-0-0-ships-as-a-pure-esm-package-aligning-with-the-rstack-ecosystem-vnovuzsb9" -->

---
title: eslint-rspack-plugin 5.0.0 Ships as a Pure ESM Package,...
description: 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...
canonical: https://daily.dev/posts/eslint-rspack-plugin-5-0-0-ships-as-a-pure-esm-package-aligning-with-the-rstack-ecosystem-vnovuzsb9
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: eslint-rspack-plugin 5.0.0 Ships as a Pure ESM Package, Aligning with the Rstack Ecosystem | daily.dev
og:description: 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...
og:url: https://daily.dev/posts/eslint-rspack-plugin-5-0-0-ships-as-a-pure-esm-package-aligning-with-the-rstack-ecosystem-vnovuzsb9
og:image: https://api.daily.dev/og/posts/VNOVuzSB9.png
og:image:alt: eslint-rspack-plugin 5.0.0 Ships as a Pure ESM Package, Aligning with the Rstack Ecosystem
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

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

**[InfoQ](https://daily.dev/sources/infoq)** · 3 min read · 0 upvotes · 0 comments

## Summary

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.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoq.com/news/2026/08/eslint-rspack-plugin-5>

## Questions this post answers

### What changed in eslint-rspack-plugin 5.0.0 regarding module format?

Version 5.0.0 removed the CommonJS build and now ships as a pure ESM package only, aligning with Rspack 2.0's own move to pure ESM core packages. Because Node.js 20 and later can load ESM modules via require(esm), most projects consuming the plugin through the JavaScript API should see little practical impact and need no code changes.

_daily.dev keeps developers upgrading build tooling ahead of breaking packaging changes like this one._

### Should I run ESLint inside my Rspack build or as a separate command?

Running ESLint as a separate command is generally recommended for build speed. The eslint-rspack-plugin README itself cautions that linting during the build can lead to longer build times, and Rsbuild does not run ESLint during builds by default in order to protect compilation performance, so a dedicated lint script is the more efficient path.

_daily.dev helps developers weighing build speed against integrated linting compare tooling trade-offs._

### What is Rslint and how much faster is it than ESLint?

Rslint is a TypeScript-first, ESLint-compatible linter built by the Rstack team, written in Go and powered by typescript-go, claimed to deliver 20 to 40 times faster linting than traditional ESLint setups. It reflects a broader ecosystem shift toward running fast standalone linters instead of linting inside the bundler.

_daily.dev tracks faster linting alternatives like Rslint for developers optimizing build performance._

## Similar posts on daily.dev

- [Smoking that Rspack](https://daily.dev/posts/smoking-that-rspack-zwl4ra19h) · Bytes by ui.dev · 6 upvotes · 0 comments
- [ESLint v10.0.0-alpha.0 released](https://daily.dev/posts/eslint-v10-0-0-alpha-0-released-kvm8x6nh3) · ESLint · 30 upvotes · 0 comments
- [Optimizing Our Build Times by Migrating from Webpack to Rspack](https://daily.dev/posts/optimizing-our-build-times-by-migrating-from-webpack-to-rspack-j4os8uopj) · Yelp Engineering · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/eslint-rspack-plugin-5-0-0-ships-as-a-pure-esm-package-aligning-with-the-rstack-ecosystem-vnovuzsb9)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"eslint-rspack-plugin 5.0.0 Ships as a Pure ESM Package, Aligning with the Rstack Ecosystem","url":"https://daily.dev/posts/eslint-rspack-plugin-5-0-0-ships-as-a-pure-esm-package-aligning-with-the-rstack-ecosystem-vnovuzsb9","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/eslint-rspack-plugin-5-0-0-ships-as-a-pure-esm-package-aligning-with-the-rstack-ecosystem-vnovuzsb9"},"datePublished":"2026-08-04T07:45:29.670Z","dateModified":"2026-09-14T07:40:54.749Z","description":"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...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/eba66abbaba749a3414ad7bf8de52f89?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/eba66abbaba749a3414ad7bf8de52f89?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoQ","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoQ","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/afc3bced3e1e4b188dd9127017a60e0c","url":"https://daily.dev/sources/infoq"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/eslint-rspack-plugin-5-0-0-ships-as-a-pure-esm-package-aligning-with-the-rstack-ecosystem-vnovuzsb9","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoQ","item":"https://daily.dev/sources/infoq"},{"@type":"ListItem","position":3,"name":"eslint-rspack-plugin 5.0.0 Ships as a Pure ESM Package, Aligning with the Rstack Ecosystem"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/eslint-rspack-plugin-5-0-0-ships-as-a-pure-esm-package-aligning-with-the-rstack-ecosystem-vnovuzsb9#faq","mainEntity":[{"@type":"Question","name":"What changed in eslint-rspack-plugin 5.0.0 regarding module format?","acceptedAnswer":{"@type":"Answer","text":"Version 5.0.0 removed the CommonJS build and now ships as a pure ESM package only, aligning with Rspack 2.0's own move to pure ESM core packages. Because Node.js 20 and later can load ESM modules via require(esm), most projects consuming the plugin through the JavaScript API should see little practical impact and need no code changes. daily.dev keeps developers upgrading build tooling ahead of breaking packaging changes like this one."}},{"@type":"Question","name":"Should I run ESLint inside my Rspack build or as a separate command?","acceptedAnswer":{"@type":"Answer","text":"Running ESLint as a separate command is generally recommended for build speed. The eslint-rspack-plugin README itself cautions that linting during the build can lead to longer build times, and Rsbuild does not run ESLint during builds by default in order to protect compilation performance, so a dedicated lint script is the more efficient path. daily.dev helps developers weighing build speed against integrated linting compare tooling trade-offs."}},{"@type":"Question","name":"What is Rslint and how much faster is it than ESLint?","acceptedAnswer":{"@type":"Answer","text":"Rslint is a TypeScript-first, ESLint-compatible linter built by the Rstack team, written in Go and powered by typescript-go, claimed to deliver 20 to 40 times faster linting than traditional ESLint setups. It reflects a broader ecosystem shift toward running fast standalone linters instead of linting inside the bundler. daily.dev tracks faster linting alternatives like Rslint for developers optimizing build performance."}}]}
```

