diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8c11ba9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,5 @@ +[*] +tab_width = 2 +indent_style = tab +charset = utf-8 +max_line_length = 80 \ No newline at end of file diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..816ce44 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,5 @@ +public/ +_migrate/comp/ +node_modules/ +.git/ +.nuxt/ \ No newline at end of file diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..dc83e07 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,8 @@ +{ + "semi": true, + "useTabs": true, + "trailingComma": "all", + "arrowParens": "always", + "vueIndentScriptAndStyle": true, + "editorconfig": true +} diff --git a/.vscode/settings.json b/.vscode/settings.json index eac8190..a7485dc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,14 +1,25 @@ -{ - "nuxt.isNuxtApp": false, - "conventionalCommits.scopes": [ - "api", - "db/models", - "composables", - "pages", - "nuxt", - "server/middleware", - "components", - "deps", - "client-side" - ] -} \ No newline at end of file +{ + "nuxt.isNuxtApp": false, + "conventionalCommits.scopes": [ + "api", + "db/models", + "composables", + "pages", + "nuxt", + "server/middleware", + "components", + "deps", + "client-side", + "config" + ], + "editor.defaultFormatter": "esbenp.prettier-vscode", + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true + }, + "[vue]": { + "editor.formatOnSave": true + }, + "vue.complete.casing.props": "kebab", + "vue.complete.casing.tags": "kebab" +}