From 88b574e7656cae38f9de1d108a225120fd5d3190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Sat, 12 Mar 2022 14:33:41 +0800 Subject: [PATCH] fix(build): move eslint config to internal (#6553) --- {packages => internal}/eslint-config/index.js | 0 .../eslint-config/package.json | 0 pnpm-lock.yaml | 62 +++++++++---------- pnpm-workspace.yaml | 1 + 4 files changed, 32 insertions(+), 31 deletions(-) rename {packages => internal}/eslint-config/index.js (100%) rename {packages => internal}/eslint-config/package.json (100%) diff --git a/packages/eslint-config/index.js b/internal/eslint-config/index.js similarity index 100% rename from packages/eslint-config/index.js rename to internal/eslint-config/index.js diff --git a/packages/eslint-config/package.json b/internal/eslint-config/package.json similarity index 100% rename from packages/eslint-config/package.json rename to internal/eslint-config/package.json diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a52c4755ac..e422a6dc9e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -116,7 +116,7 @@ importers: '@babel/preset-typescript': 7.16.7_@babel+core@7.17.5 '@commitlint/cli': 16.2.1 '@commitlint/config-conventional': 16.2.1 - '@element-plus/eslint-config': link:packages/eslint-config + '@element-plus/eslint-config': link:internal/eslint-config '@pnpm/find-workspace-packages': 3.1.42_@pnpm+logger@4.0.0 '@pnpm/logger': 4.0.0 '@pnpm/types': 7.10.0 @@ -223,6 +223,36 @@ importers: vite-plugin-windicss: 1.8.3_vite@2.8.6 vitepress: 0.22.3_sass@1.49.9 + internal/eslint-config: + specifiers: + '@typescript-eslint/eslint-plugin': ^5.13.0 + '@typescript-eslint/parser': ^5.13.0 + eslint-config-prettier: ^8.5.0 + eslint-define-config: ^1.2.5 + eslint-plugin-eslint-comments: ^3.2.0 + eslint-plugin-import: ^2.25.4 + eslint-plugin-jsonc: ^2.2.1 + eslint-plugin-markdown: ^2.2.1 + eslint-plugin-prettier: ^4.0.0 + eslint-plugin-unicorn: ^41.0.0 + eslint-plugin-vue: ^8.5.0 + jsonc-eslint-parser: ^2.1.0 + yaml-eslint-parser: ^0.5.0 + dependencies: + '@typescript-eslint/eslint-plugin': 5.13.0_33fffc354ccfa91fbe7d1677b9395a0a + '@typescript-eslint/parser': 5.13.0_eslint@8.10.0+typescript@4.6.2 + eslint-config-prettier: 8.5.0_eslint@8.10.0 + eslint-define-config: 1.2.5 + eslint-plugin-eslint-comments: 3.2.0_eslint@8.10.0 + eslint-plugin-import: 2.25.4_eslint@8.10.0 + eslint-plugin-jsonc: 2.2.1_eslint@8.10.0 + eslint-plugin-markdown: 2.2.1_eslint@8.10.0 + eslint-plugin-prettier: 4.0.0_f3d13a703a9c1079e3d1af6044603beb + eslint-plugin-unicorn: 41.0.0_eslint@8.10.0 + eslint-plugin-vue: 8.5.0_eslint@8.10.0 + jsonc-eslint-parser: 2.1.0 + yaml-eslint-parser: 0.5.0 + packages/components: specifiers: {} @@ -271,36 +301,6 @@ importers: csstype: 2.6.19 vue-router: 4.0.13_vue@3.2.31 - packages/eslint-config: - specifiers: - '@typescript-eslint/eslint-plugin': ^5.13.0 - '@typescript-eslint/parser': ^5.13.0 - eslint-config-prettier: ^8.5.0 - eslint-define-config: ^1.2.5 - eslint-plugin-eslint-comments: ^3.2.0 - eslint-plugin-import: ^2.25.4 - eslint-plugin-jsonc: ^2.2.1 - eslint-plugin-markdown: ^2.2.1 - eslint-plugin-prettier: ^4.0.0 - eslint-plugin-unicorn: ^41.0.0 - eslint-plugin-vue: ^8.5.0 - jsonc-eslint-parser: ^2.1.0 - yaml-eslint-parser: ^0.5.0 - dependencies: - '@typescript-eslint/eslint-plugin': 5.13.0_33fffc354ccfa91fbe7d1677b9395a0a - '@typescript-eslint/parser': 5.13.0_eslint@8.10.0+typescript@4.6.2 - eslint-config-prettier: 8.5.0_eslint@8.10.0 - eslint-define-config: 1.2.5 - eslint-plugin-eslint-comments: 3.2.0_eslint@8.10.0 - eslint-plugin-import: 2.25.4_eslint@8.10.0 - eslint-plugin-jsonc: 2.2.1_eslint@8.10.0 - eslint-plugin-markdown: 2.2.1_eslint@8.10.0 - eslint-plugin-prettier: 4.0.0_f3d13a703a9c1079e3d1af6044603beb - eslint-plugin-unicorn: 41.0.0_eslint@8.10.0 - eslint-plugin-vue: 8.5.0_eslint@8.10.0 - jsonc-eslint-parser: 2.1.0 - yaml-eslint-parser: 0.5.0 - packages/hooks: specifiers: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index acda0b6269..a735d28fd1 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,3 +2,4 @@ packages: - packages/* - docs - play + - internal/*