Change8

v9.39.0

📦 eslint
3 features🐛 8 fixes🔧 10 symbols

Summary

This release focuses on refining error locations for several rules, improving TypeScript typings, and fixing bugs related to concurrent linting and JSDoc handling.

Migration Steps

  1. Update @eslint/core dependency to ^0.17.0.

✨ New Features

  • Update error location to target the key in no-dupe-class-members rule.
  • Update error locations in for-direction and no-dupe-args rules for better precision.
  • Update complexity rule to highlight only the static block header instead of the entire block.

🐛 Bug Fixes

  • Forward traversal step.args to visitors.
  • Allow JSDoc comments in object-shorthand rule.
  • Use more types from @eslint/core for better type safety.
  • Correct Scope typings.
  • Use AST.Program type for Program node.
  • Unify timing report for concurrent linting.
  • Correct Rule typings.
  • Improve error message for missing fix function in suggestions.

🔧 Affected Symbols

no-dupe-class-membersfor-directionno-dupe-argscomplexityobject-shorthandScopeRuleAST.Programno-use-before-defineno-useless-constructor