v9.37.0
📦 eslint
✨ 2 features🐛 3 fixes⚡ 1 deprecations🔧 6 symbols
Summary
This release introduces TypeScript support for import restrictions and improves error-cause recognition, alongside bug fixes for precision loss detection and ESLint typings.
Migration Steps
- Note that ESLint.findConfigFile() is now marked as async; ensure calls to this method are awaited if using the updated typings/docs.
✨ New Features
- The preserve-caught-error rule now recognizes all static 'cause' keys.
- Added support for TypeScript syntax in the no-restricted-imports rule.
🐛 Bug Fixes
- Fixed false positives in no-loss-of-precision for numbers with leading zeros.
- Added missing AST token types.
- Corrected TypeScript typings for the ESLint class.
🔧 Affected Symbols
preserve-caught-errorno-restricted-importsno-loss-of-precisionESLintESLint.findConfigFileAST token types⚡ Deprecations
- Deprecated formatting rules are now explicitly marked as available until v11.0.0.