Fix Prettier Configuration (#515)

This commit is contained in:
HenryNguyen5 2017-12-03 19:32:07 -05:00 committed by Daniel Ternyak
parent 646824de14
commit 387567e43b
2 changed files with 10 additions and 4 deletions

9
.prettierrc Normal file
View File

@ -0,0 +1,9 @@
{
"printWidth": 100,
"singleQuote": true,
"useTabs": false,
"semi": true,
"tabWidth": 2,
"trailingComma":
"none"
}

View File

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