v9.24.0
📦 eslint
✨ 8 features🐛 2 fixes🔧 9 symbols
Summary
This release introduces support for loading TypeScript configuration files via experimental flags and expands TypeScript syntax support across several core rules. It also includes a new mechanism to suppress violations and various bug fixes for rule messaging and type definitions.
✨ New Features
- Support loading TS config files using --experimental-strip-types
- Support TypeScript syntax in init-declarations rule
- Normalize patterns to handle './' prefix in files and ignores
- Support TypeScript syntax in no-dupe-class-members rule
- Introduce a way to suppress violations
- Support TypeScript syntax in no-loss-of-precision rule
- Add new options to class-methods-use-this rule
- Support TypeScript syntax in no-array-constructor rule
🐛 Bug Fixes
- Deduplicate variable names in no-loop-func error messages
- Use any[] type for context.options
🔧 Affected Symbols
init-declarationsno-dupe-class-membersno-loss-of-precisionclass-methods-use-thisno-array-constructorno-loop-funccontext.optionsRuleFormatterFunction