
发布于: 公告 5 分钟阅读
我们刚刚推送了 ESLint v9.11.0,这是一个 ESLint 的小版本升级。此版本添加了一些新功能并修复了之前版本中发现的几个错误。
ec30c73 feat: 添加 “eslint/universal” 以导出 Linter (#18883) (唯然)c591da6 feat: 为类型添加语言 (#18917) (Nicholas C. Zakas)492eb8f feat: 限制在 id-length 中赋予 ImportSpecifier 的名称 (#18861) (Tanuj Kanti)19c6856 feat: 添加 no-useless-constructor 建议 (#18799) (Jordan Thomson)a48f8c2 feat: 添加类型 FormatterFunction,更新 LoadedFormatter (#18872) (Francesco Trotta)5e5f39b fix: 为 no-restricted-exports 规则添加缺失的类型 (#18914) (Kristóf Poduszló)8f630eb fix: 为 no-param-reassign 选项添加缺失的类型 (#18906) (Kristóf Poduszló)d715781 fix: 为 no-extra-boolean-cast 选项添加缺失的类型 (#18902) (Kristóf Poduszló)2de5742 fix: 为 no-misleading-character-class 选项添加缺失的类型 (#18905) (Kristóf Poduszló)c153084 fix: 为 no-implicit-coercion 选项添加缺失的类型 (#18903) (Kristóf Poduszló)fa11b2e fix: 为 no-empty-function 选项添加缺失的类型 (#18901) (Kristóf Poduszló)a0deed1 fix: 为 camelcase 选项添加缺失的类型 (#18897) (Kristóf Poduszló)e4e5709 docs: 修正 prefer-object-has-own 类型定义注释 (#18924) (Nitin Kumar)91cbd18 docs: 在 no-irregular-whitespace 规则中添加 Unicode 缩写 (#18894) (Alix Royere)59cfc0f docs: 澄清 LoadedFormatter 类型中的 resultsMeta (#18881) (Milos Djermanovic)adcc50d docs: 更新 README (GitHub Actions Bot)4edac1a docs: 更新 README (GitHub Actions Bot)ca21a64 chore: 升级 @eslint/js@9.11.0 (#18927) (Milos Djermanovic)a10f90a chore: @eslint/js 版本发布的 package.json 更新 (Jenkins)e4e02cc refactor: 将处理器逻辑提取到 ProcessorService 中 (#18818) (Nicholas C. Zakas)6d4484d chore: v8.57.1 版本发布的更新 (Jenkins)71f37c5 refactor: 验证配置规则时使用可选链 (#18893) (lucasrmendonca)2c2805f chore: 在所有模板中添加 PR 说明 (#18892) (Nicholas C. Zakas)7b852ce refactor: 使用来自 @eslint/plugin-kit 的 Directive 类 (#18884) (Milos Djermanovic)d594ddd chore: 更新依赖 @eslint/core 至 ^0.6.0 (#18863) (renovate[bot])78b2421 chore: 更新 change.yml (#18882) (Nicholas C. Zakas)a416f0a chore: 在 .ts 文件中启用 $ExpectType 注释 (#18869) (Francesco Trotta)最新的 ESLint 新闻、案例研究、教程和资源。


