From d1801c6b268d127073c405ef0518ec1e6543c43d Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Fri, 30 Jul 2021 20:05:34 +0100 Subject: [PATCH] :wrench: Sets editor to use LF UTF-8 by default --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.editorconfig b/.editorconfig index 7053c49a..f34b86fd 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,24 @@ +root = true + +# Basics - All Files +[*] +end_of_line = lf +charset = utf-8 +insert_final_newline = true + +# JS, TS and Vue [*.{js,jsx,ts,tsx,vue}] indent_style = space indent_size = 2 trim_trailing_whitespace = true insert_final_newline = true + +# YAML, for config file +[*.{yml,yaml}] +indent_size = 2 + +# Markdown for docs +[*.md] +trim_trailing_whitespace = false + +# Licensed under MIT, (C) 2021 Alicia Sykes \ No newline at end of file