From 5dbbf53b92f4f315e882bb9578240c69eca62e25 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 29 Sep 2023 20:22:04 +0800 Subject: [PATCH 1/5] Update and rename .eslintrc to eslint.config.js --- .eslintrc => eslint.config.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename .eslintrc => eslint.config.js (52%) diff --git a/.eslintrc b/eslint.config.js similarity index 52% rename from .eslintrc rename to eslint.config.js index 78791f2b..bc16f4c4 100644 --- a/.eslintrc +++ b/eslint.config.js @@ -1,11 +1,9 @@ -{ - "extends": "@so1ve", - "overrides": [ - { +import{so1ve}from'@so1ve/eslint-config' + +export default so1ve({},{ "files": "./examples/**", "rules": { "no-console": "off" } } - ] -} + ) From d660318bfc6cd10bf489194ddebd7aae4c4e1994 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 29 Sep 2023 20:23:20 +0800 Subject: [PATCH 2/5] Update package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2b44f2ab..5160b45a 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ }, "devDependencies": { "@antfu/ni": "^0.21.8", - "@so1ve/eslint-config": "^0.123.0", - "@so1ve/prettier-config": "^0.123.0", + "@so1ve/eslint-config": "^1.0.0-alpha.4", + "@so1ve/prettier-config": "^1.0.0-alpha.4", "@types/node": "^18.17.18", "bumpp": "^9.2.0", "clerc": "workspace:*", From be861bd8afc59c14afbe6ccadc50e362b5c5dd38 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 29 Sep 2023 20:23:40 +0800 Subject: [PATCH 3/5] Rename .prettierrc.cjs to prettier.config.cjs --- .prettierrc.cjs => prettier.config.cjs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .prettierrc.cjs => prettier.config.cjs (100%) diff --git a/.prettierrc.cjs b/prettier.config.cjs similarity index 100% rename from .prettierrc.cjs rename to prettier.config.cjs From 247303db470cc5ca85c4526d06089349b053cc3c Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 29 Sep 2023 20:25:26 +0800 Subject: [PATCH 4/5] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5160b45a..b66b21ea 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@clerc/monorepo", + "name": "@clerc/monorepo","type":"module", "private": true, "packageManager": "pnpm@8.8.0", "scripts": { From 130656b35db3ab8c0da2488a57ce1afa5bde539b Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 29 Sep 2023 20:27:00 +0800 Subject: [PATCH 5/5] Update eslint.config.js --- eslint.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index bc16f4c4..832c967e 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,7 +1,7 @@ import{so1ve}from'@so1ve/eslint-config' export default so1ve({},{ - "files": "./examples/**", + "files":[ "./examples/**",], "rules": { "no-console": "off" }