diff --git a/.editorconfig b/.editorconfig index c1322dc..5f4effe 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,4 +9,7 @@ indent_size = 4 end_of_line = lf charset = utf-8 trim_trailing_whitespace = false -insert_final_newline = false \ No newline at end of file +insert_final_newline = true + +[*.{json, yaml}] +indent_size = 2 diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 0104377..c8ac644 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -2,14 +2,14 @@ require('@rushstack/eslint-patch/modern-module-resolution') module.exports = { - root: true, - 'extends': [ - 'plugin:vue/vue3-essential', - 'eslint:recommended', - '@vue/eslint-config-typescript', - '@vue/eslint-config-prettier' - ], - parserOptions: { - ecmaVersion: 'latest' - } + root: true, + extends: [ + 'plugin:vue/vue3-essential', + 'eslint:recommended', + '@vue/eslint-config-typescript', + '@vue/eslint-config-prettier', + ], + parserOptions: { + ecmaVersion: 'latest', + }, } diff --git a/.prettierrc.json b/.prettierrc.json index 27c887c..e16d48f 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -3,5 +3,6 @@ "semi": false, "useTabs": false, "tabWidth": 4, + "printWidth": 110, "endOfLine": "lf" } \ No newline at end of file diff --git a/index.html b/index.html index a888544..c9d26eb 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,16 @@ - + + Vite App - - + + +
- + + diff --git a/src/App.vue b/src/App.vue index 3cdffea..33f1bfd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,13 +5,7 @@ import HelloWorld from './components/HelloWorld.vue'