From b073b3be8d81aaca471ee1f41738e8f5167cf014 Mon Sep 17 00:00:00 2001 From: Nanobyte Date: Thu, 13 Aug 2020 23:32:38 +0200 Subject: [PATCH] Added .editorconfig EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. --- .editorconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..e00e56cf --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# EditorConfig is awesome: 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,ts,tsx}] +charset = utf-8 +indent_style = space +indent_size = 4 + +[package.json] +indent_style = space +indent_size = 2