Skip to content

Commit

Permalink
fix eslint-plugin-react version to avoid jsx-key error (#34800)
Browse files Browse the repository at this point in the history
Fixes #34797.

Context: https://github.com/yannickcr/eslint-plugin-react was released in 7.29.0 2h ago and breaks the linting of a default create-next-app.

See: jsx-eslint/eslint-plugin-react#3215

This PR locks the version to the latest working one.
  • Loading branch information
thibautsabot committed Feb 25, 2022
1 parent 5ebee5f commit 99713ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config-next/package.json
Expand Up @@ -16,7 +16,7 @@
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "^4.3.0"
},
"peerDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Expand Up @@ -4060,7 +4060,7 @@
resolved "https://registry.yarnpkg.com/@napi-rs/cli/-/cli-2.4.4.tgz#878a38f0fba1709d89d66eba706745ce728a61a5"
integrity sha512-f+tvwCv1ka24dBqI2DgBhR7Oxl3DKHOp4onxLXwyBFt6iCADnr3YZIr1/2Iq5r3uqxFgaf01bfPsRQZPkEp0kQ==

"@napi-rs/triples@^1.0.3", "@napi-rs/triples@1.1.0":
"@napi-rs/triples@1.1.0", "@napi-rs/triples@^1.0.3":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@napi-rs/triples/-/triples-1.1.0.tgz#88c35b72e79a20b79bb4c9b3e2817241a1c9f4f9"
integrity sha512-XQr74QaLeMiqhStEhLn1im9EOMnkypp7MZOwQhGzqp2Weu5eQJbpPxWxixxlYRKWPOmJjsk6qYfYH9kq43yc2w==
Expand Down Expand Up @@ -9600,10 +9600,10 @@ eslint-plugin-react@7.23.2:
resolve "^2.0.0-next.3"
string.prototype.matchall "^4.0.4"

eslint-plugin-react@^7.27.0:
version "7.27.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.27.0.tgz#f952c76517a3915b81c7788b220b2b4c96703124"
integrity sha512-0Ut+CkzpppgFtoIhdzi2LpdpxxBvgFf99eFqWxJnUrO7mMe0eOiNpou6rvNYeVVV6lWZvTah0BFne7k5xHjARg==
eslint-plugin-react@7.28.0:
version "7.28.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.28.0.tgz#8f3ff450677571a659ce76efc6d80b6a525adbdf"
integrity sha512-IOlFIRHzWfEQQKcAD4iyYDndHwTQiCMcJVJjxempf203jnNLUnW34AXLrV33+nEXoifJE2ZEGmcjKPL8957eSw==
dependencies:
array-includes "^3.1.4"
array.prototype.flatmap "^1.2.5"
Expand Down

0 comments on commit 99713ba

Please sign in to comment.