ESLint v10.6.0 is out with a new `checkRelationalComparisons` option for the `no-constant-binary-expression` rule, which flags relational comparisons (using <, <=, >, >=) whose result is always constant based on literal operands. The release also includes refinements to nine existing rules — including `max-classes-per-file`, `max-nested-callbacks`, `no-extra-boolean-cast`, `no-throw-literal`, and others — fixing edge cases around shadowed globals, false positives, and incorrect autofix behavior. Documentation updates include TypeScript config guidance for the MCP server and updated code-path diagrams.

3m read timeFrom eslint.org
Post cover image
Table of contents
HighlightsFeaturesBug FixesDocumentationChores
97.6K Impressions4 Comments