From 3707fcd5be3d8c0ac8bd88e7fdc82a2101a4dc5f Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 31 May 2022 23:51:13 +0100 Subject: [PATCH] feat: start using prettier linter https://prettier.io/ --- .editorconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.editorconfig b/.editorconfig index ef3ef8bd9..5205f7643 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,3 +11,15 @@ indent_size = 4 trim_trailing_whitespace = true end_of_line = lf insert_final_newline = true + +# JSON Files +[*.{json,json5,webmanifest}] +indent_size = 2 + +# YAML Files +[*.{yml,yaml}] +indent_size = 2 + +# Bash Files +[*.sh] +end_of_line = lf