From d81aa54cb09d9b91838b152f5f86563a4240464e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Zl=C3=A1mal?= Date: Mon, 20 Sep 2021 20:17:45 -0500 Subject: [PATCH] Eslint config: revert `eslint-plugin-react` to version 7.25.1 This reverts 3b83b6b3ec610b5d240b933be4c953e5d0e62733 because version 7.25.2 causes issues with FBT tags, see: https://github.com/yannickcr/eslint-plugin-react/issues/3080 adeira-source-id: c30973cfbb659a5c7327e8c66ec7c2d662b84bb5 --- CHANGELOG.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31ad919..4c3d5fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Unreleased +- Dependency `eslint-plugin-react` was pined to version 7.25.1 because of a new issue with FBT tags: https://github.com/yannickcr/eslint-plugin-react/issues/3080 + # 6.5.0 - New rule [`fb-flow/use-flow-enums`](https://github.com/facebook/flow/blob/eb02b62805a196a05efff35ea6b73bd2f91f40fa/packages/eslint-plugin-fb-flow/README.md#use-flow-enums) enabled. Additionally, rules [`no-fallthrough`](https://eslint.org/docs/rules/no-fallthrough) and [`no-case-declarations`](https://eslint.org/docs/rules/no-case-declarations) were upgraded to errors in strict mode to improve Flow Enums support. For more information please visit: https://flow.org/en/docs/enums/ diff --git a/package.json b/package.json index c6cdc70..07e41ed 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-promise": "^5.1.0", - "eslint-plugin-react": "^7.25.3", + "eslint-plugin-react": "7.25.1", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-react-native": "^3.11.0", "eslint-plugin-relay": "^1.8.2",