diff --git a/package.json b/package.json index 41446e6..aafd8bb 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "jest": "^25.1 || ^26 || ^27 || ^28 || ^29", "jest-watch-select-projects": "^2.0.0", "jest-watch-typeahead": "^0.6.4 || ^1.1.0 || ^2.1.1", - "prettier": "1.19.1", + "prettier": "^2.7.1", "rimraf": "^3.0.2", "semver": "^6.3.0" }, @@ -56,7 +56,8 @@ "prettier": { "proseWrap": "never", "singleQuote": true, - "trailingComma": "all" + "trailingComma": "all", + "arrowParens": "avoid" }, "engines": { "node": ">=8.10.0" diff --git a/yarn.lock b/yarn.lock index cf1bb31..70e9189 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3555,10 +3555,10 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@1.19.1: - version "1.19.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" - integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== +prettier@2.7.1: + version "2.7.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" + integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== pretty-format@^28.0.2: version "28.0.2"