
Published under: Release Notes
1 min read
我们刚刚发布了 ESLint v8.6.0,这是 ESLint 的一次小版本升级。此版本添加了一些新功能,并修复了上一版本中发现的几个错误。
🌐 Highlights
ESLint v8.6.0 允许在eslint-disable-next-line 注释中换行规则列表或描述:
🌐 ESLint v8.6.0 allows rule lists or descriptions in eslint-disable-next-line comments to wrap lines:
/* eslint-disable-next-line no-console --
* Here's a very long description about why this configuration is necessary
* along with some additional information.
*/
console.log('hello');
🌐 Features
6802a54 功能:在 no-self-assign 中处理逻辑赋值 (#14152) (Zzzen)3b38018 功能:允许在多行中定义 eslint-disable-next-line (#15436) (Nitin Kumar)9d6fe5a 功能:在 id-match 中使用 onlyDeclarations + properties 时出现假阴性 (#15431) (Nitin Kumar)🌐 Documentation
6c4dee2 文档:Document homedir 是一个配置根目录 (#15469) (Bas Bosman)51c37b1 文档:一致性更改 (#15404) (Bas Bosman)775d181 文档: 在 no-useless-escape 中提及字符类 (#15421) (Sebastian Simon)🌐 Chores
最新的 ESLint 新闻、案例研究、教程和资源。


