prettier - Move prettier config from npm tasks to prettierrc.json

This commit is contained in:
2019-12-16 10:20:26 +05:30
parent 5fe2293f89
commit 3f0947a195
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
"types": "lib/index",
"scripts": {
"clean": "rimraf lib && rimraf coverage",
"format": "prettier --write \"{src,__tests__}/**/*.ts*\" --single-quote --trailing-comma es5",
"format": "prettier --write \"{src,__tests__}/**/*.ts*\"",
"lint": "tslint --force --format verbose \"src/**/*.ts*\"",
"prepublishOnly": "npm run build",
"prebuild": "npm run clean && npm run format && npm run lint && echo Using TypeScript && tsc --version",