diff --git a/.eslintrc.js b/.eslintrc.js index b7b98fe57..d1bebf07b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,7 +5,7 @@ module.exports = { // We use Prettier instead of AirBnb for style-related rules (see .prettierrc.js). 'plugin:prettier/recommended', // Disable React-related AirBnB style rules. - 'prettier/react', + 'prettier', 'plugin:jest/recommended', 'plugin:jest/style', ], diff --git a/package.json b/package.json index 4d6cbde97..fc145345f 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "css-loader": "^6.7.0", "eslint": "8.21.0", "eslint-config-airbnb": "18.0.1", - "eslint-config-prettier": "6.7.0", + "eslint-config-prettier": "8.5.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-jest": "23.1.1", "eslint-plugin-jsx-a11y": "6.2.3", diff --git a/yarn.lock b/yarn.lock index 3bf18ea5d..ad245745b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4511,12 +4511,10 @@ eslint-config-airbnb@18.0.1: object.assign "^4.1.0" object.entries "^1.1.0" -eslint-config-prettier@6.7.0: - version "6.7.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.7.0.tgz#9a876952e12df2b284adbd3440994bf1f39dfbb9" - integrity sha512-FamQVKM3jjUVwhG4hEMnbtsq7xOIDm+SY5iBPfR8gKsJoAB2IQnNF+bk1+8Fy44Nq7PPJaLvkRxILYdJWoguKQ== - dependencies: - get-stdin "^6.0.0" +eslint-config-prettier@8.5.0: + version "8.5.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" + integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== eslint-formatter-codeframe@7.32.1: version "7.32.1" @@ -5270,11 +5268,6 @@ get-package-type@^0.1.0: resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== -get-stdin@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" - integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g== - get-stdin@~9.0.0: version "9.0.0" resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-9.0.0.tgz#3983ff82e03d56f1b2ea0d3e60325f39d703a575"