
亮点
🌐 Highlights
此版本在代码中发现 /* eslint-env */ 配置注释时会打印警告信息。警告中包含该注释的文件名和行号,以及如何替换它的说明。发出此警告的目的是为了让迁移过程更加顺利,因为从 ESLint v10.0.0 开始,/* eslint-env */ 注释会被 lint 工具报告为错误,正如 迁移指南 中所说明的那样。
🌐 This release prints a warning message when an /* eslint-env */ configuration comment is found in the code being linted. The warning includes the filename and line number of the comment, along with instructions on how to replace it. The purpose of this warning is to allow for a smoother migration, since starting with ESLint v10.0.0, /* eslint-env */ comments are reported as errors by the linter, as explained in the migration guide.
错误修复
🌐 Bug Fixes
构建相关
🌐 Build Related
杂项
🌐 Chores
