Disabling a no-unreachable lint error (#9300)
Brian Vaughn committed
Mar 30, 2017 at 16:40 UTC
76c5c6deb562e23bd07d16c0d1e65f766de03363
1 file changed
+1
src/renderers/shared/fiber/ReactFiberScheduler.js
+1
@@ -687,6 +687,7 @@ module.exports = function<T, P, I, TI, PI, C, CX, PL>(
687
688
// Without this explicit null return Flow complains of invalid return type
689
// TODO Remove the above while(true) loop
690
+ // eslint-disable-next-line no-unreachable
691
return null;
692
}
693