.editorconfig - cross-platform indentation config

This commit is contained in:
Nick Stokoe
2022-12-30 18:09:28 +00:00
parent 1dc5b59414
commit d8da68595e

22
.editorconfig Normal file
View File

@@ -0,0 +1,22 @@
# Cross-platform formatting config
# See https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
[{*.{js,json,css,scss,html,jsx},.babelrc}]
# Set default charset
charset = utf-8
# 4 space indentation
indent_style = space
indent_size = 2
[*.{yml,yaml}]
indent_style = space
indent_size = 2