Revert "apply prettier (#21165)"
This reverts commit 94fd1214d2054799485cdcca87a37d956a4240eb.
Sebastian Markbage committed
Apr 1, 2021 at 15:18 UTC
c03197063d57c6b61d83d7fe9202f07f5c766fbd
1 file changed
+4
-1
packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
+4
-1
@@ -255,7 +255,10 @@ export default {
255
}
256
}
257
} else if (name === 'useTransition') {
258
- if (id.type === 'ArrayPattern' && isArray(resolved.identifiers)) {
258
+ if (
259
+ id.type === 'ArrayPattern' &&
260
+ isArray(resolved.identifiers)
261
+ ) {
262
// Is first tuple value the same reference we're checking?
263
if (id.elements[0] === resolved.identifiers[0]) {
264
// Setter is stable.