From b24a7b06f32040382a1b0fd7fdc601a61524ebc9 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Thu, 22 Nov 2018 11:17:50 +0100 Subject: [PATCH] chore: add prettier rules --- package.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/package.json b/package.json index b9d82d24b1..c6bbd503d4 100644 --- a/package.json +++ b/package.json @@ -113,5 +113,19 @@ "hooks": { "pre-commit": "lint-staged" } + }, + "prettier": { + "proseWrap": "never", + "singleQuote": true, + "tabWidth": 4, + "trailingComma": "all", + "overrides": [ + { + "files": "*.{json,yaml,yml,md}", + "options": { + "tabWidth": 2 + } + } + ] } }