From 5e0127a16f63b964b4b81f1944608ec2300b1a73 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 9 Jul 2024 09:42:24 +0300 Subject: [PATCH] update & rename .prettierrc.json --- .editorconfig | 2 +- .prettierrc | 7 ------- .prettierrc.json | 13 +++++++++++++ 3 files changed, 14 insertions(+), 8 deletions(-) delete mode 100644 .prettierrc create mode 100644 .prettierrc.json diff --git a/.editorconfig b/.editorconfig index 94f408a..923174b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,7 +10,7 @@ indent_size = tab max_line_length = 78 end_of_line = lf -[*.{cff,yaml,yml}] +[*.{cff,yaml,yml,json}] indent_style = space indent_size = 2 diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 6aee684..0000000 --- a/.prettierrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "insertPragma": true, - "proseWrap": "always", - "singleAttributePerLine": true, - "plugins": ["@prettier/plugin-ruby", "prettier-plugin-sh"], - "overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }] -} diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..395ae35 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,13 @@ +{ + "bracketSameLine": true, + "endOfLine": "auto", + "insertPragma": true, + "plugins": [ + "@prettier/plugin-ruby", + "prettier-plugin-sh" + ], + "proseWrap": "always", + "quoteProps": "consistent", + "requirePragma": false, + "singleAttributePerLine": true +}