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": {