Change8

v9.27.0

📦 eslint
6 features🐛 6 fixes🔧 10 symbols

Summary

This release introduces the no-unassigned-vars rule, adds TypeScript support to max-params, and enables ESLINT_FLAGS environment variable support. It also includes several TypeScript type definition refinements and internal refactorings.

✨ New Features

  • Allow flags to be set via the ESLINT_FLAGS environment variable.
  • Externalize MCP server functionality.
  • Add allowRegexCharacters option to no-useless-escape rule.
  • Add new no-unassigned-vars rule.
  • Convert no-array-constructor suggestions to automatic fixes.
  • Support TypeScript syntax in the max-params rule.

🐛 Bug Fixes

  • Corrected mismatched removed rules.
  • Tightened type definitions and corrected types in the SourceCode class.
  • Corrected service property name in Linter.ESLintParseResult type.
  • Sorted keys in eslint-suppressions.json to prevent git churn.
  • Added allowReserved to Linter.ParserOptions type.
  • Added info property to ESLint.DeprecatedRuleUse type.

🔧 Affected Symbols

ESLINT_FLAGSno-useless-escapeno-unassigned-varsno-array-constructormax-paramsSourceCodeLinter.ESLintParseResultLinter.ParserOptionsESLint.DeprecatedRuleUseConfigData