diff --git a/.vscode/settings.json b/.vscode/settings.json index c16b0b3..84b7ee4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { + "cSpell.enabled": false, "eslint.enable": true, "vetur.validation.template": false, - "cSpell.enabled": false, + "editor.formatOnSave": true } \ No newline at end of file diff --git a/package.json b/package.json index 7259751..58d7c32 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dev": "vite", "build": "vite build", "preview": "vite preview", - "linter": "eslint --ext .js,.ts,.vue --ignore-pattern \"*.d.ts\" src" + "linter": "eslint --ext .js,.ts,.vue src" }, "engines": { "npm": "^7" diff --git a/src/shims-vue.d.ts b/src/shims-vue.d.ts index 668dc90..48dad50 100644 --- a/src/shims-vue.d.ts +++ b/src/shims-vue.d.ts @@ -1,10 +1,5 @@ -/* - this is a defintion typescript file - unvalid for eslint, ie: --ignore-pattern \"*.d.ts\" in package.json -*/ - -declare module "*.vue" { - import { defineComponent } from "vue" +declare module '*.vue' { + import { defineComponent } from 'vue' const Component: ReturnType export default Component } @@ -13,4 +8,4 @@ declare module "*.vue" { declare const APP_VERSION: string declare const APP_TITLE: string declare const APP_REPOSITORY: string -declare const APP_LICENSE: string \ No newline at end of file +declare const APP_LICENSE: string