From 51c825bfa1bc6b8c1958d90f7cb12dd95a3a1ecc Mon Sep 17 00:00:00 2001 From: Johnie Hjelm Date: Sat, 19 Aug 2023 20:45:50 +0200 Subject: [PATCH] chore: Add .prettierrc --- .prettierrc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..e40c90b --- /dev/null +++ b/.prettierrc @@ -0,0 +1,24 @@ +{ + "endOfLine": "lf", + "useTabs": false, + "tabWidth": 2, + "trailingComma": "all", + "insertPragma": false, + "printWidth": 80, + "semi": true, + "singleQuote": true, + "overrides": [ + { + "files": "*.md", + "options": { + "trailingComma": "none" + } + }, + { + "files": "*.json", + "options": { + "tabWidth": 4 + } + } + ] +}