
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.
max-lines-per-function, max-nested-callbacks, and max-statements now highlight only the function header instead of the entire function.max-depth and no-with now highlight only the first keyword.max-depth and max-nested-callbacks rules. These bug fixes can result in reporting more linting errors in existing code.5ca8c52 feat: correct stack tracking in max-nested-callbacks (#20973) (Pixel998)b565783 feat: report no-with violations at the with keyword (#20971) (Pixel998)2ce032f feat: report max-lines-per-function violations at function head (#20966) (Pixel998)732cb3e feat: report max-nested-callbacks violations at function head (#20967) (Pixel998)f9c138a feat: report max-depth violations on keywords (#20943) (Pixel998)bdb496c feat: correct max-depth handling for else-if chains (#20944) (Pixel998)c296873 feat: update error loc in max-statements to function header (#20907) (Taejin Kim)8ae1b5b docs: Update README (GitHub Actions Bot)ca7eb90 docs: update Node.js prerequisites to include ICU support (#20962) (Francesco Trotta)f99b47a docs: Update README (GitHub Actions Bot)acf03d4 docs: clarify precedence of parserOptions over languageOptions (#20926) (sethamus)b18bf58 chore: update ecosystem plugins (#20959) (ESLint Bot)c2d1444 refactor: replace areAllSegmentsUnreachable with !isAnySegmentReachable (#20951) (Taejin Kim)243b8c5 chore: enhance config-rule to support oneOf, anyOf, and nested schemas (#20788) (kuldeep kumar)217b2a9 test: add unit tests for ParserService (#20949) (Taejin Kim)72003e7 test: add location information to error messages in max-statements (#20945) (lumir)7797c26 refactor: deduplicate isAnySegmentReachable across rules (#20890) (Taejin Kim)67c46fa chore: update ecosystem plugins (#20938) (ESLint Bot)95d8c7a chore: update dependency @eslint/json to v2 (#20934) (renovate[bot])cf9e496 chore: update @arethetypeswrong/cli to 0.18.3 (#20933) (Pixel998)fb6d396 test: run type tests with TypeScript 7 (#20868) (sethamus)The latest ESLint news, case studies, tutorials, and resources.


