chore(config): add editor and prettier config files
This commit is contained in:
parent
8ec7a09193
commit
cb457129ba
5
.editorconfig
Normal file
5
.editorconfig
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[*]
|
||||||
|
tab_width = 2
|
||||||
|
indent_style = tab
|
||||||
|
charset = utf-8
|
||||||
|
max_line_length = 80
|
5
.prettierignore
Normal file
5
.prettierignore
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
public/
|
||||||
|
_migrate/comp/
|
||||||
|
node_modules/
|
||||||
|
.git/
|
||||||
|
.nuxt/
|
8
.prettierrc.json
Normal file
8
.prettierrc.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"semi": true,
|
||||||
|
"useTabs": true,
|
||||||
|
"trailingComma": "all",
|
||||||
|
"arrowParens": "always",
|
||||||
|
"vueIndentScriptAndStyle": true,
|
||||||
|
"editorconfig": true
|
||||||
|
}
|
15
.vscode/settings.json
vendored
15
.vscode/settings.json
vendored
@ -9,6 +9,17 @@
|
|||||||
"server/middleware",
|
"server/middleware",
|
||||||
"components",
|
"components",
|
||||||
"deps",
|
"deps",
|
||||||
"client-side"
|
"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"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user