Add editorconfig and Prettier config

This commit is contained in:
Brian Thomas Smith
2022-12-22 14:05:46 +01:00
parent fb51e5d0a2
commit 461f4a4aa1
2 changed files with 18 additions and 0 deletions

15
.editorconfig Normal file
View File

@@ -0,0 +1,15 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

3
.prettierrc.json Normal file
View File

@@ -0,0 +1,3 @@
{
"bracketSameLine": true
}