
Published under: Release Notes
1 min read
我们刚刚发布了 ESLint v7.14.0,这是 ESLint 的一次小版本升级。此版本添加了一些新功能,并修复了上一版本中发现的几个错误。
🌐 Highlights
已添加 no-nonoctal-decimal-escape 规则。该规则禁止在字符串字面量中使用传统转义序列 \8 和 \9。
🌐 The no-nonoctal-decimal-escape rule has been added. This rule disallows the use of legacy escape sequences \8 and \9 in string literals.
🌐 Features
98c00c4 新增:添加 no-nonoctal-decimal-escape 规则(修复 #13765)(#13845)(Milos Djermanovic)🌐 Enhancements
5f09073 更新:修复 no-irregular-whitespace 中的“跳过”选项(修复 #13852)(#13853) (Milos Djermanovic)🌐 Bug Fixes
2004b7e 修复:为 @eslint/eslintrc 启用调试日志(修复 #13850) (#13861) (Milos Djermanovic)d2239a1 修复:[no-useless-constructor] 在无主体构造函数上崩溃 (修复 #13830) (#13842) (Ari Perkkiö)🌐 Documentation
1861b40 文档:修复 function-call-argument-newline 的“默认”描述 (#13866) (Trevin Hofmann)eda0aa1 文档:no-restricted-imports 仅适用于静态导入 (#13863) (Robat Williams)042ae44 文档:修复 working-with-custom-formatters.md 中的 JS 语法和文档 URL (#13828) (Raphael LANG)🌐 Chores
95d2fe6 事务:从 no-octal-escape 测试中移除 eslint 注释 (#13846) (Milos Djermanovic)038dc73 工作任务:在 Node.js 15 上测试 (#13844) (Brandon Mills)最新的 ESLint 新闻、案例研究、教程和资源。


