From 18c7346115eedccd37ad3bef5c88e0cd86363987 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Thu, 26 May 2022 23:34:28 -0700 Subject: [PATCH] Add editorconfig config file --- src/.editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/.editorconfig diff --git a/src/.editorconfig b/src/.editorconfig new file mode 100644 index 0000000..66e7711 --- /dev/null +++ b/src/.editorconfig @@ -0,0 +1,22 @@ +# don't search the parents of the home directory +root = true + +# default rules for all files +[*] +# LF line endings +end_of_line = lf +# enforce trailing newline +insert_final_newline = true +# use 4-character-width tabs for indentation +indent_style = tab +indent_size = 4 +# default to utf-8 charset +charset = utf-8 +# disallow trailing whitespace +trim_trailing_whitespace = true + +# web development files +[*.{html,css,scss,js,ts}] +# use 2 spaces for indentation +indent_style = space +indent_size = 2