From c909b36a5ed299b63794b0641f27b01b69ce5b47 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Fri, 18 Mar 2022 05:21:34 -0500 Subject: [PATCH] style: Allow editorconfig to manage tab widths --- .editorconfig | 12 ++++++++++++ .prettierrc.yaml | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..835c83d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_size = 4 +indent_style = space + +[*.{md,yml,yaml}] +indent_size = 2 diff --git a/.prettierrc.yaml b/.prettierrc.yaml index ef9b1b8..c81f9a7 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -1,2 +1 @@ printWidth: 120 -tabWidth: 2