From d8da68595ea7c54f79b1c1017705a554d461c316 Mon Sep 17 00:00:00 2001 From: Nick Stokoe Date: Fri, 30 Dec 2022 18:09:28 +0000 Subject: [PATCH] .editorconfig - cross-platform indentation config --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c70d1bd --- /dev/null +++ b/.editorconfig @@ -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 +