Add editorconfig

This commit is contained in:
Arran Hobson Sayers 2023-10-05 19:04:10 +01:00
parent 309aeb5714
commit 15badfbbcc
4 changed files with 15 additions and 1 deletions

8
.editorconfig Normal file
View file

@ -0,0 +1,8 @@
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
insert_final_newline = false
trim_trailing_whitespace = true

View file

@ -1,4 +1,5 @@
{
"editorconfig": true,
"semi": false,
"singleQuote": true,
"printWidth": 400,

View file

@ -1,3 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode", "octref.vetur"]
"recommendations": ["EditorConfig.EditorConfig", "esbenp.prettier-vscode", "octref.vetur"]
}

View file

@ -3,6 +3,11 @@
"editor.detectIndentation": true,
"editor.tabSize": 2,
"files.encoding": "utf8",
"files.insertFinalNewline": false,
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
"[javascript][json][jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},