build(deps): update dependency prettier to v2.4.0 (#2357)

* build(deps): update dependency prettier to v2.4.0

* fix(web): jsxbracketsameline -> bracketsameline

Prettier 2.4 has renamed the jsxBracketSameLine option to bracketSameLine.

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
pull/2358/head
renovate[bot] 2021-09-10 08:27:50 +10:00 committed by GitHub
parent dca3ba0cfb
commit b770939983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@ module.exports = {
printWidth: 120, printWidth: 120,
tabWidth: 4, tabWidth: 4,
bracketSpacing: true, bracketSpacing: true,
jsxBracketSameLine: false, bracketSameLine: false,
semi: true, semi: true,
singleQuote: false, singleQuote: false,
trailingComma: "all", trailingComma: "all",

View File

@ -70,7 +70,7 @@
"eslint-import-resolver-typescript": "2.4.0", "eslint-import-resolver-typescript": "2.4.0",
"eslint-plugin-prettier": "4.0.0", "eslint-plugin-prettier": "4.0.0",
"husky": "7.0.2", "husky": "7.0.2",
"prettier": "2.3.2", "prettier": "2.4.0",
"react-scripts": "4.0.3", "react-scripts": "4.0.3",
"react-test-renderer": "17.0.2", "react-test-renderer": "17.0.2",
"typescript": "4.4.2" "typescript": "4.4.2"

View File

@ -9552,10 +9552,10 @@ prettier-linter-helpers@^1.0.0:
dependencies: dependencies:
fast-diff "^1.1.2" fast-diff "^1.1.2"
prettier@2.3.2: prettier@2.4.0:
version "2.3.2" version "2.4.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.0.tgz#85bdfe0f70c3e777cf13a4ffff39713ca6f64cba"
integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ== integrity sha512-DsEPLY1dE5HF3BxCRBmD4uYZ+5DCbvatnolqTqcxEgKVZnL2kUfyu7b8pPQ5+hTBkdhU9SLUmK0/pHb07RE4WQ==
pretty-bytes@^5.3.0: pretty-bytes@^5.3.0:
version "5.6.0" version "5.6.0"