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"] } }