chore(docs): add editorconfig file

For now, it only applies to web-related files

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
This commit is contained in:
Lucien Cartier-Tilet 2023-02-27 22:45:56 +01:00
parent e255f872c4
commit 1447aac3f6
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 15 additions and 0 deletions

15
.editorconfig Normal file
View File

@ -0,0 +1,15 @@
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
[*.{json,ts,css}]
indent_style = space
indent_size = 2
[*.ts]
quote_type = single