From 9754a80597ac2e43f1c264feb3ca5e77480e9190 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Fri, 21 Aug 2020 14:16:18 +0800 Subject: [PATCH] fix(eslint-config): update extends rule --- packages/vant-eslint-config/index.js | 4 ++-- packages/vant-eslint-config/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/vant-eslint-config/index.js b/packages/vant-eslint-config/index.js index f93f76530..7aae183f4 100644 --- a/packages/vant-eslint-config/index.js +++ b/packages/vant-eslint-config/index.js @@ -1,9 +1,8 @@ module.exports = { extends: [ 'airbnb-base', - 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', - 'plugin:vue/recommended', + 'plugin:vue/vue3-recommended', 'prettier', 'prettier/vue', ], @@ -64,5 +63,6 @@ module.exports = { '@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/explicit-function-return-type': 'off', + '@typescript-eslint/explicit-module-boundary-types': 'off', }, }; diff --git a/packages/vant-eslint-config/package.json b/packages/vant-eslint-config/package.json index c6c0f3e3c..b4a2081ba 100644 --- a/packages/vant-eslint-config/package.json +++ b/packages/vant-eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@vant/eslint-config", - "version": "3.0.0-alpha.0", + "version": "3.0.0-alpha.1", "description": "eslint config of vant", "main": "index.js", "publishConfig": {