diff --git a/.prettierrc.json b/.prettierrc.json index 159dda55f4..b1738e2c9f 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,5 +1,6 @@ { "$schema": "http://json.schemastore.org/prettierrc", + "arrowParens": "avoid", "singleQuote": true, "trailingComma": "all", "tabWidth": 4, diff --git a/package.json b/package.json index 092e7fab93..f2114216ac 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "dtslint": "latest", - "prettier": "^1.17.1", + "prettier": "^2.0.2", "types-publisher": "github:Microsoft/types-publisher#production" }, "husky": {