From 387567e43bbb32258e7ca363ccd6efdc46b28229 Mon Sep 17 00:00:00 2001 From: HenryNguyen5 Date: Sun, 3 Dec 2017 19:32:07 -0500 Subject: [PATCH] Fix Prettier Configuration (#515) --- .prettierrc | 9 +++++++++ package.json | 5 +---- 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..ce3b78b2 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,9 @@ +{ + "printWidth": 100, + "singleQuote": true, + "useTabs": false, + "semi": true, + "tabWidth": 2, + "trailingComma": + "none" +} diff --git a/package.json b/package.json index 282ecc50..810aa5cb 100644 --- a/package.json +++ b/package.json @@ -134,9 +134,6 @@ "prepush": "npm run tslint && npm run tscheck" }, "lint-staged": { - "*.{ts,tsx}": [ - "prettier --write --single-quote", - "git add" - ] + "*.{ts,tsx}": ["prettier --write", "git add"] } }