
亮点
🌐 Highlights
在 ESLint v7.3.0 中,我们发布了对 comma-dangle 规则的更改,该更改 不允许在规则配置中有多个选项。我们的语义化版本控制策略允许在 semver 次要版本中引入可能导致新错误的更改,如果该更改被视为错误修复,并且当时我们认为这一更改属于这一类别。在内部讨论了这是否是我们策略的正确应用之后,我们决定 更新我们的语义化版本控制策略,将规则模式作为公共 API 的一部分,并在本次发布中撤销此更改。
🌐 In ESLint v7.3.0, we released a change to the comma-dangle rule that disallowed having multiple options in the rule’s configuration. Our semantic versioning policy allows for changes that may introduce new errors in semver-minor releases if the change is considered a bug fix and, at the time, we decided that this change fell under that category. After discussing internally whether this was the correct application of our policy or not, we have decided to update our semantic versioning policy to include rule schemas as part of the public API and to revert this change in this release.
增强功能
🌐 Enhancements
b46f3ee更新:no-underscore-dangle 中的 allowFunctionParams 选项(修复 12579)(#13545)(Sunghyun Cho)
错误修复
🌐 Bug Fixes
4e0b672修复:还原 “更新:comma-dangle 规则中不允许多个选项” (#13564) (Kai Cataldo)254990e修复:indent 用于异步箭头函数(修复 #13497)(#13544) (Anix)
文档
🌐 Documentation
[26aa245](https://github.com/eslint/eslint/commit/26aa2452b5f407fabc25dad21182180e4d3be532)文档:澄清[padding-line-between-statements]中的 “case” 指定符 (#13562) (Milos Djermanovic)082891c文档:更新语义化版本控制政策 (#13563) (Nicholas C. Zakas)
杂项
🌐 Chores
