
Published under: Release Notes
1 min read
我们刚刚发布了 ESLint v8.17.0,这是 ESLint 的一次小版本升级。此版本添加了一些新功能,并修复了上一版本中发现的几个错误。
🌐 Highlights
no-use-before-define 规则有一个新的选项 allowNamedExports。
🌐 The no-use-before-define rule has a new option allowNamedExports.
🌐 Features
55319e1 功能:修复使用分号优先风格的 indent 错误 (#15951) (Milos Djermanovic)[f6d7920](https://github.com/eslint/eslint/commit/f6d79209821241c8e03c183b5844a024da0efe8a) 功能:向 no-use-before-define 添加 allowNamedExports 选项 (#15953) (Milos Djermanovic)🌐 Bug Fixes
54c0953 修复:清理错别字 (#15939) (Nick Schonning)845a7af 修复:拼写错误 ocatal -> octal (#15940) (Nick Schonning)🌐 Documentation
b915018 文档:将网站 UI 更新到最新 (#15944) (Nicholas C. Zakas)f0bb609 文档:更新指数运算符 MDN 链接 (#15960) (Pranjal Jain)baa0153 文档:使用正确的过去式 “left” 而不是 “leaved” (#15950) (Frederik Braun)1351a9b 文档:在规则页面添加资源部分 (#15901) (Nicholas C. Zakas)68cf0fb 文档:清理错别字 (#15936) (Nick Schonning)13b62ae 文档:使用 dart-sass 替代 node-sass (#15912) (Deepshika S)c81c5d6 文档:添加社交媒体链接 (#15920) (Deepshika S)0d6a50b 文档:修复 openjs 链接 (#15917) (Amaresh S M)54910f5 文档:在移动视图中显示版本 (#15909) (Amaresh S M)🌐 Chores
da694b9 事务:避免主题闪烁 (#15927) (Strek)f836743 事务: 使用构建钩子部署文档 (#15945) (Nicholas C. Zakas)ce035e5 测试:清理拼写错误 (#15937) (Nick Schonning)10249ad 事项:使用 addEventListener 替代 addListener (#15923) (Amaresh S M)5f5c1fb 杂务: 检查 eleventy 配置文件 (#15904) (Milos Djermanovic)8513d37 任务:更新规则类型定义 (#15915) (Milos Djermanovic)55534f1 测试:确保 no-restricted-imports 可以与 NodeJS 导入一起使用 (#15907) (Nick Mazuk)最新的 ESLint 新闻、案例研究、教程和资源。


