
Published under: Release Notes
1 min read
我们刚刚发布了 ESLint v8.50.0,这是 ESLint 的一次小版本升级。此版本添加了一些新功能,并修复了上一版本中发现的几个错误。
🌐 Highlights
allowVoid。🌐 Features
27d5a9e 功能:向 array-callback-return 添加建议 (#17590) (Tanuj Kanti)f9082ff 功能:flat-rule-tester 确保默认配置始终匹配 (#17585) (fnx)83914ad 功能:实现 SourceCode#applyInlineConfig() (#17351) (Nicholas C. Zakas)22a5582 功能:添加规则 no-object-constructor,废弃 no-new-object (#17576) (Francesco Trotta)85a3d9e 功能:在 array-callback-return 中允许 void 选项 (#17564) (Tanuj Kanti)🌐 Bug Fixes
cc4d26b 修复:确保已弃用的 context.parserServices 发出警告 (#17593) (Nicholas C. Zakas)1ea4cfb 修复:确保所有 RuleTester 测试所有已弃用的上下文方法 (#17587) (Nicholas C. Zakas)aa1b657 修复:no-misleading-character-class 中错误的建议和消息 (#17571) (太田洋介)🌐 Documentation
1800537 文档:修复并标准化 JSX 代码示例 (#17591) (Francesco Trotta)48a44a7 文档:向 prefer-arrow-callback 添加正确/错误标签 (#17589) (Francesco Trotta)20893d4 文档:修复错误的标签位置 (#17575) (Tanuj Kanti)bd7a71f 文档:更新自述文件(GitHub Actions 机器人)🌐 Chores
最新的 ESLint 新闻、案例研究、教程和资源。


