ESLint 10.0 brings tracked JSX references, enhanced RuleTester API, and other improvements

ESLint 10.0 brings tracked JSX references, enhanced RuleTester API, and other improvements

ESLint 10.0 is now available as the latest version of this free and open source JavaScript code analysis tool. This major release removes the eslintrc config system, impacting all users who relied on the classic configuration approach. Moving forward, the tool now tracks JSX references, providing correct scope analysis for JSX elements, which addresses issues in rules depending on identifier tracking.

Expanding on type safety, Espree v11.1.0 and ESLint Scope v9.1.0 now include built-in type definitions. Custom rule authors will benefit from enhancements to RuleTester, which enforces stricter test definitions and better debugging. The max-params rule introduces a countThis option, replacing the deprecated countVoidThis. These changes support team-level code quality standards.

Formatter developers can now use a new context property to honor --color and --no-color options, letting custom formatters respect user terminal color preferences. The eslint:recommended configuration gains new rules, and the Program AST node now spans the full source text, including comments and whitespace. Following compatibility improvements, support for jiti versions before 2.2.0 has been dropped for TypeScript config loading. Deprecated API methods and additional breaking changes have also been removed or updated in this release.

by Paul

MORE ABOUT: #ESLint
ESLint iconESLint
  12
  • Free
  • Open Source
  • ...

ESLint is an open source JavaScript linting utility developed by Nicholas C. Zakas in June 2013. It performs static analysis to detect problematic patterns and ensure code adheres to specific style guidelines. Key features include comprehensive linting and robust lint support. ESLint is a popular tool for maintaining consistent code quality in JavaScript projects.

No comments so far, maybe you want to be first?
Gu