From 82d655dea00a3d212da6b1d08932e0f7e7af1189 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 20 Jun 2024 09:03:26 +0300 Subject: [PATCH] add .prettierrc --- .editorconfig | 3 +++ .prettierrc | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 .prettierrc diff --git a/.editorconfig b/.editorconfig index 98d1de4..5d01666 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,5 +9,8 @@ indent_style = space indent_size = 2 max_line_length = 78 +[.prettierrc] +indent_style = tab + [{LICENSE,*.{markdown,md}}] trim_trailing_whitespace = false diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..7a8c0bc --- /dev/null +++ b/.prettierrc @@ -0,0 +1,7 @@ +{ + "insertPragma": true, + "proseWrap": "always", + "singleAttributePerLine": true, + "plugins": ["prettier-plugin-sh"], + "overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }] +}