From e01ce2128e98b512b3c3611615da4f97b1b9d356 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Wed, 4 Jun 2025 19:34:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(eslint-conft):=20=E6=B7=BB=E5=8A=A0import-?= =?UTF-8?q?sort=E7=9A=84=E6=9C=AC=E5=9C=B0=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eslint-config/flat/import-sort.mjs | 2 +- eslint-config/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint-config/flat/import-sort.mjs b/eslint-config/flat/import-sort.mjs index 0bce8d51..d1365851 100644 --- a/eslint-config/flat/import-sort.mjs +++ b/eslint-config/flat/import-sort.mjs @@ -22,7 +22,7 @@ export default { ['^(@tencent)(/.*|$)'], ['^(@tmagic)(/.*|$)'], // Internal packages. - ['^(@|@editor|@data-source)(/.*|$)'], + ['^(@|src|editor-page|@editor|@data-source)(/.*|$)'], // Side effect imports. ['^\\u0000'], // Parent imports. Put `..` last. diff --git a/eslint-config/package.json b/eslint-config/package.json index 87956646..d1740163 100644 --- a/eslint-config/package.json +++ b/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@tmagic/eslint-config", - "version": "0.0.1", + "version": "0.0.2", "main": "index.mjs", "type": "module", "repository": {