From 09be6bd2f8dd4ba9aecd7bf28717deb82372402c Mon Sep 17 00:00:00 2001 From: Soybean Date: Thu, 25 Jan 2024 22:10:28 +0800 Subject: [PATCH] docs(projects): update README.md --- README.md | 4 ++-- README.zh_CN.md | 3 +++ package.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b0a7a96..1fcb9ce 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ->[!IMPORTANT] -> ESlint will use new flat config when released 10.0.0, It's recommend to SoybeanJS's ESLint Flat Config: [@soybeanjs/eslint-config](https://github.com/soybeanjs/eslint-flat-config) +>[!CAUTION] +> This is legacy config, ESlint will use new flat config by default when released 9.0.0, it's recommend to use new flat config on branch [main](https://github.com/soybeanjs/eslint-config) # SoybeanJS's ESLint config presets diff --git a/README.zh_CN.md b/README.zh_CN.md index a6ecb20..7230e2b 100644 --- a/README.zh_CN.md +++ b/README.zh_CN.md @@ -1,3 +1,6 @@ +>[!CAUTION] +> 这是旧的配置,ESlint 9.0.0 发布后将默认使用新的扁平化配置,建议使用主分支的扁平化配置 [main](https://github.com/soybeanjs/eslint-config) + # SoybeanJS 的 ESLint 配置插件 - 集成了 Prettier,自动修复并格式化 diff --git a/package.json b/package.json index 377bc95..032541b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/soybeanjs" }, "license": "MIT", - "homepage": "https://github.com/soybeanjs/eslint-config", + "homepage": "https://github.com/soybeanjs/eslint-config/tree/legacy", "repository": { "url": "https://github.com/soybeanjs/eslint-config.git" },