
Published under: Release Notes
1 min read
我们刚刚发布了 ESLint v8.10.0,这是 ESLint 的一次小版本升级。此版本添加了一些新功能,并修复了上一版本中发现的几个错误。
🌐 Highlights
ignoreOnInitialization 选项。onlyOneSimpleParam 选项。🌐 Features
6e2c325 功能:向 no-shadow 规则添加 ignoreOnInitialization 选项 (#14963) (Soufiane Boutahlil)115cae5 功能:--debug 打印解析文件所需的时间 (#15609) (Bartek Iwańczuk)[345e70d](https://github.com/eslint/eslint/commit/345e70d9d6490fb12b18953f56f3cea28fd61d83) 功能:向 no-confusing-arrow 规则添加 onlyOneSimpleParam 选项 (#15566)(Gautam Arora)🌐 Bug Fixes
cdc5802 修复:避免在内置配置中使用 __dirname (#15616) (DoZerg)ee7c5d1 修复:在具有组合属性的 camelcase 中的误报 (#15581) (Nitin Kumar)🌐 Documentation
1005bd5 文档:更新 CLA 信息 (#15630) (Nitin Kumar)5d65c3b 文档:修复 no-irregular-whitespace 中的拼写错误 (#15634) (Ryota Sekiya)b93af98 文档:在关于块大括号周围空白的规则之间添加链接 (#15625) (Milos Djermanovic)ebc0460 文档:更新 babel 链接 (#15624) (Milos Djermanovic)🌐 Chores
7cec74e 事务:升级 @eslint/eslintrc@1.2.0 (#15648) (Milos Djermanovic)11c8580 例行任务:在 Makefile.js 中读取 ESLINT_MOCHA_TIMEOUT 环境变量 (#15626) (Piggy)bfaa548 测试:添加带有内置配置的集成测试 (#15612) (Milos Djermanovic)39a2fb3 性能:修复核心规则的惰性加载 (#15606) (Milos Djermanovic)3fc9196 事务:在测试运行中包含 tests/conf (#15610) (Milos Djermanovic)最新的 ESLint 新闻、案例研究、教程和资源。


