chore: add editor config (#101)

pull/103/head
Septs 2021-08-19 08:26:23 +08:00 committed by GitHub
parent b9d7efe684
commit 702f3c8b27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 0 deletions

8
.editorconfig 100644
View File

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

7
.vscode/extensions.json vendored 100644
View File

@ -0,0 +1,7 @@
{
"recommendations": [
"DavidAnson.vscode-markdownlint",
"esbenp.prettier-vscode",
"EditorConfig.EditorConfig"
]
}

9
.vscode/settings.json vendored 100644
View File

@ -0,0 +1,9 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"markdownlint.config": {
"no-inline-html": false
}
}