From 36f06bc8990a13bbd11874ebf651bb7ff283936e Mon Sep 17 00:00:00 2001 From: Soybean Date: Thu, 11 Aug 2022 14:37:22 +0800 Subject: [PATCH] =?UTF-8?q?build(deps):=20=E6=9B=B4=E6=96=B0@soybeanjs/esl?= =?UTF-8?q?int-config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 11 ----------- package.json | 3 +-- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index d6e0077a4..2b9ac9bb6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,16 +1,5 @@ module.exports = { extends: ['@soybeanjs'], - settings: { - 'import/resolver': { - alias: { - map: [ - ['~', '.'], - ['@', './src'] - ], - extensions: ['.js', '.jsx', '.mjs', '.ts', '.tsx', 'mts', '.d.ts'] - } - } - }, rules: { 'import/no-unresolved': ['error', { ignore: ['uno.css', '~icons/*', 'virtual:svg-icons-register'] }], 'import/order': [ diff --git a/package.json b/package.json index 59a80fc9c..a1ce6889f 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "@iconify/json": "^2.1.87", "@iconify/vue": "^3.2.1", "@milahu/patch-package": "^6.4.14", - "@soybeanjs/eslint-config": "^0.2.4", + "@soybeanjs/eslint-config": "0.2.7", "@types/bmapgl": "^0.0.5", "@types/crypto-js": "^4.1.1", "@types/node": "^18.6.4", @@ -97,7 +97,6 @@ "cz-conventional-changelog": "^3.3.0", "cz-customizable": "^6.9.1", "eslint": "^8.21.0", - "eslint-import-resolver-alias": "^1.1.2", "husky": "^8.0.1", "lint-staged": "^13.0.3", "mockjs": "^1.1.0",