From 0e76e2adb2e7664d0cda92be8f221d315210d69b Mon Sep 17 00:00:00 2001 From: YePeng <1213563369@qq.com> Date: Tue, 19 Dec 2023 14:14:14 +0800 Subject: [PATCH] chore: update README.md --- README.md | 2 +- README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 97e3557..84e4745 100644 --- a/README.md +++ b/README.md @@ -220,4 +220,4 @@ Based on the above two points, I decided to open the use of Prettier. V2 is a refactoring of V1 in order to adapt ESLint's flat configuration and use Prettier as a code formatting tool. -If you need to adapt ESLint's flattened configuration, then all the packages you use internally need to use the new version of the flattened configuration. Fortunately, ESLint has provided an adaptation scheme, [eslintrc](https://github.com/eslint/eslintrc), to convert the old configuration to the new one. It is used to convert the old configuration to the new one. +If you need to adapt ESLint's flattened configuration, then all the packages you use internally need to use the new version of the flattened configuration. Fortunately, ESLint has provided an adaptation scheme, [eslintrc](https://github.com/eslint/eslintrc), to convert the old configuration to the new one. diff --git a/README.zh-CN.md b/README.zh-CN.md index f72cd3b..082bd81 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -220,4 +220,4 @@ export default [ V2 是对 V1 的重构,以适应 ESLint 的扁平化配置,并使用 Prettier 作为代码格式化工具。 -如果您需要调整 ESLint 的扁平化配置,那么您在内部使用的所有软件包都需要使用新版本的扁平化配置。幸运的是,ESLint 提供了一个适配方案 [eslintrc](https://github.com/eslint/eslintrc),用于将旧配置转换为新配置。它用于将旧配置转换为新配置。 +如果您需要调整 ESLint 的扁平化配置,那么您在内部使用的所有软件包都需要使用新版本的扁平化配置。幸运的是,ESLint 提供了一个适配方案 [eslintrc](https://github.com/eslint/eslintrc),用于将旧配置转换为新配置。