From 930e871f5ef9157f1cb04b07e360139c41a5ee7b Mon Sep 17 00:00:00 2001 From: Mael Date: Wed, 28 Mar 2018 17:13:40 +0200 Subject: [PATCH] .prettierrc en JSON J'utilise prettier_d, qui permet d'accelerer le formattage, et il ne supporte que les configs en JSON... --- .prettierrc | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.prettierrc b/.prettierrc index be4d119c5..ef5e1c236 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,10 +1,12 @@ -printWidth: 80 -trailingComma: none -bracketSpacing: true -jsxBracketSameLine: true -useTabs: true -semi: false -singleQuote: true -arrowParens: avoid -proseWrap: preserve -tabWidth: 2 +{ + "printWidth": 80, + "trailingComma": "none", + "bracketSpacing": true, + "jsxBracketSameLine": true, + "useTabs": true, + "semi": false, + "singleQuote": true, + "arrowParens": "avoid", + "proseWrap": "preserve", + "tabWidth": 2 +}