
Published under: Release Notes 1 min read
ESLint v10.5.0 released
We just pushed ESLint v10.5.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.























Published under Release Notes
We just pushed ESLint v10.6.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
checkRelationalComparisons in no-constant-binary-expressionESLint v10.6.0 introduces a new option checkRelationalComparisons for the no-constant-binary-expression rule.
When enabled, the rule reports relational comparisons using <, <=, >, or >= whose result is always constant based on their literal operands.
For example:
const value = "a" > "b"; // always `false`
while (0 <= 0) { // always `true`
/* ... */
}
The following rules have been tweaked to improve correctness and ensure more consistent or intuitive behavior in edge cases:
max-classes-per-filemax-nested-callbacksno-constant-binary-expressionno-extra-boolean-castno-promise-executor-returnno-throw-literalprefer-exponentiation-operatorprefer-promise-reject-errorsradixb1f9106 feat: detect Symbol() and BigInt() in no-constant-binary-expression (#20981) (Taejin Kim)f291007 feat: add checkRelationalComparisons to no-constant-binary-expression (#20948) (sethamus)6b05784 fix: prefer-exponentiation-operator invalid autofix at statement start (#20997) (Milos Djermanovic)bb9eb2a fix: account for shadowed Boolean in no-extra-boolean-cast (#21013) (den$)8fd8741 fix: don’t report shadowed undefined in radix rule (#21011) (Pixel)5784980 fix: don’t report shadowed undefined in no-throw-literal (#21010) (Pixel)9cd1e6d fix: suppress invalid class suggestion in no-promise-executor-return (#21008) (Pixel)d4eb2dc fix: don’t report shadowed undefined in prefer-promise-reject-errors (#21006) (Pixel)2360464 fix: prefer-promise-reject-errors false positives for shadowed Promise (#21003) (den$)63d52d2 fix: restore max-classes-per-file report range (#21002) (Pixel)7feaff0 fix: callback detection logic for IIFEs in max-nested-callbacks (#20979) (fnx)399a2ec fix: don’t report inner non-callbacks in max-nested-callbacks (#20995) (Milos Djermanovic)a83683d docs: Update README (GitHub Actions Bot)f5449f9 docs: document userland patterns for global assertionOptions in RuleT… (#20986) (playgirl)bea49f7 docs: Update README (GitHub Actions Bot)e5f70f9 docs: update code-path diagrams (#20984) (Tanuj Kanti)8890c2d docs: add TypeScript config guidance for MCP server (#20796) (Pierluigi Lenoci)3eb3d9b docs: Update README (GitHub Actions Bot)c5bb59c docs: Update README (GitHub Actions Bot)eb3c97c docs: fix grammar in prefer-const rule description (#20983) (lumir)6a42034 ci: run ecosystem tests on main branch (#20891) (sethamus)3dbacdb ci: bump actions/checkout from 6 to 7 (#21014) (dependabot[bot])c3abfca chore: correct JSDoc param types in html formatter (#21018) (Minseon Kim)a832320 ci: split ecosystem tests into separate jobs (#21001) (xbinaryx)27166e7 chore: update ecosystem plugins (#21005) (ESLint Bot)865d76e ci: bump pnpm/action-setup from 6.0.8 to 6.0.9 (#20989) (dependabot[bot])27a88c9 chore: update dependency markdown-it to v14 in root (#20994) (Milos Djermanovic)970cea6 chore: update dependency markdown-it to v14 (#20993) (Milos Djermanovic)b482120 chore: update dependency prettier to v3.8.4 (#20990) (renovate[bot])6993fb3 chore: update ecosystem plugins (#20985) (ESLint Bot)The latest ESLint news, case studies, tutorials, and resources.

Published under: Release Notes 1 min read
We just pushed ESLint v10.5.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

Published under: Release Notes 1 min read
We just pushed ESLint v10.4.1, which is a patch release upgrade of ESLint. This release fixes several bugs found in the previous release.

Published under: Release Notes 2 min read
We just pushed ESLint v10.4.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。