News

ESLint 10.16 and Rust 1.100.1: what happened in programming on November 27

ESLint 10.16 merges configs faster and suggests fixes for == null comparisons. Plus Rust 1.100.1, pnpm 12.24 and Vue 3.6 RC, and what it means for learners.

CodeWorlds Editorial
ESLint 10.16 and Rust 1.100.1: what happened in programming on November 27
  • Oxlint
  • Nauka Javascript Dla Poczatkujacych
In this article5

ESLint shipped version 10.16.0 on Friday. The headline changes are faster config merging and new suggestions for == comparisons with null, which happens to be one of the spots where JavaScript beginners trip up most often. On the same day Rust got a 1.100.1 point release and Vue published another 3.6 release candidate.

What ESLint 10.16.0 brings

The announcement on the ESLint blog describes it as a regular minor release: new features and bug fixes, nothing breaking. Upgrading is just npm install eslint@latest -D, and your eslint.config.js can stay as it is.

Faster config merging

Before ESLint lints a file, it has to work out that file's final configuration from every config object that matches it. That step lives in the @eslint/config-array package, which gets a new merging implementation in this release. The team says that in benchmarks with a moderate to large number of matching config objects, this step is now roughly twice as fast.

It is worth reading that carefully: one step got twice as fast, not the whole lint run. The authors say themselves that the effect on total time depends on the project. In a small project with a single config block you will probably not notice anything. In a large monorepo with separate rules for tests, scripts and different packages, the difference may be noticeable.

Suggestions for comparisons

The second group of changes is about suggestions, the fixes your editor offers next to a reported problem, which you can accept with one click. They are not applied by --fix, because they may change how the code behaves.

  • The no-eq-null rule now offers to replace == and != with === and !==, in two variants: with null only, or with both null and undefined.
  • The eqeqeq rule gets extra suggestions that include a comparison with undefined.
  • The no-new-native-nonconstructor rule now suggests how to turn an invalid call with new (such as new Symbol()) into a plain function call.

This makes sense. x == null is true for both null and undefined, so a blind switch to x === null would change what the code does. That is why offering two variants matters more here than the error message itself.

Rule fixes

The rest is edge cases in four popular rules: no-invalid-this, no-shadow, no-unused-vars and no-use-before-define. Several of them concern TypeScript, for example type assertions on function calls and imports written as import x = require(). The no-unused-vars suggestions also handle trailing commas better now. The full list is in the release notes on GitHub.

A reminder from earlier this month: since November 6, ESLint has an official @eslint/shell plugin for shell scripts. It supports Bash, POSIX sh and mksh, and its rules are modeled on ShellCheck.

What this means if you are learning to code

If you write JavaScript, turn on the eqeqeq rule in your project, then deliberately write if (result == null) and look at what your editor proposes. The two suggestions show exactly the difference between null and undefined, which usually takes longer to dig out of the documentation. We cover comparisons and types in the JavaScript and TypeScript course, and there is a quick refresher on operators in the JavaScript docs.

You do not need to understand how config merging works to benefit from the speedup. Updating the package is enough. Early on, what matters more is that the linter actually runs in your editor and that you read its messages instead of switching them off.

If you are wondering whether to pick a faster tool instead of ESLint, read our piece on Oxlint. If you are just starting out, our guide to learning JavaScript from scratch is a good place to begin.

Also today

  • Rust 1.100.1 fixes an Iterator regression. A change to the unstable const version of the Iterator trait in Rust 1.100.0 meant the compiler stopped seeing valid implementations of that trait on some types. The change was reverted, and updating is rustup update stable. Source
  • pnpm 12.24.0 with a security fix. pnpm now reads every package tarball the way npm does, or refuses it, because malformed PAX headers could make the two tools install different files. It also adds pnpm audit deprecations and pnpm audit engines. Source
  • Vue 3.6.0-rc.17. The latest release candidate is mostly hydration fixes for Vapor mode, plus a new getCurrentApp function and useInstanceInfo in place of useInstanceOption. Source
  • SvelteKit 3.4.1. The November 25 release applies origin checks to more content types that browsers send and limits arrays in remote forms to 1,000 missing indexes. Source
  • Angular 22.3.1. Compiler fixes, among them one for references to arrow function parameters, plus hydration fixes after <ng-content> and @let. Source

Frequently asked questions

Do I need to change my config after upgrading to ESLint 10.16?

No. It is a minor release with no breaking changes, and the faster config merging works on its own. The new suggestions show up in your editor if you have the eqeqeq, no-eq-null or no-new-native-nonconstructor rules enabled.

What is the difference between == null and === null in JavaScript?

x == null is true when x is either null or undefined. x === null is true only for null. That is why ESLint offers two versions of the fix, so you choose on purpose which value you want to check for.

How do I update Rust to 1.100.1?

If you installed Rust with rustup, run rustup update stable. The fix covers a single regression, so you do not need to change your code.

Sources


This article was prepared with the help of AI from primary sources and reviewed by the CodeWorlds editorial team.