diff --git a/.eslintignore b/.eslintignore index 87bd9d9..071bbd5 100644 --- a/.eslintignore +++ b/.eslintignore @@ -12,5 +12,3 @@ packages/wview-components/src/components/icons/font/food.js packages/wview-components/src/components/icons/font/goods.js packages/wview-components/src/components/progress/wProgress.vue packages/wview-components/src/components/modal/wModal.vue - - diff --git a/.eslintrc.json b/.eslintrc.json index e0fbc55..2654aa8 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -11,8 +11,9 @@ "parserOptions": { "ecmaVersion": "latest", "parser": "@typescript-eslint/parser", - "project": "packages/*/tsconfig.json", - "sourceType": "module" + // "project": "packages/*/tsconfig.json", + "sourceType": "module", + "extraFileExtensions": [".vue"] }, "plugins": [ "vue", @@ -26,8 +27,7 @@ }, "import/resolver": { "typescript": { - "alwaysTryTypes": true, - "project": "packages/*/tsconfig.json" + "alwaysTryTypes": true } } } diff --git a/packages/document/docs/src/example/other/alert/sizeAlert.vue b/packages/document/docs/src/example/other/alert/sizeAlert.vue index f2cf674..1a28358 100644 --- a/packages/document/docs/src/example/other/alert/sizeAlert.vue +++ b/packages/document/docs/src/example/other/alert/sizeAlert.vue @@ -3,6 +3,7 @@ import { Alert } from 'wviewui'