We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b0c734 commit c5d356fCopy full SHA for c5d356f
package.json
@@ -47,7 +47,7 @@
47
"create-react-class": "^15.6.3",
48
"danger": "^9.2.10",
49
"error-stack-parser": "^2.0.6",
50
- "eslint": "^7.0.0",
+ "eslint": "^7.7.0",
51
"eslint-config-fbjs": "^1.1.1",
52
"eslint-config-prettier": "^6.9.0",
53
"eslint-plugin-babel": "^5.3.0",
packages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js
@@ -752,9 +752,7 @@ const tests = {
752
errors: [
753
conditionalError('useState'),
754
755
- // TODO: ideally this *should* warn, but ESLint
756
- // doesn't plan full support for ?? until it advances.
757
- // conditionalError('useState'),
+ conditionalError('useState'),
758
],
759
},
760
{
0 commit comments