mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Disabling a no-unreachable lint error (#9300)
This commit is contained in:
@@ -687,6 +687,7 @@ module.exports = function<T, P, I, TI, PI, C, CX, PL>(
|
||||
|
||||
// Without this explicit null return Flow complains of invalid return type
|
||||
// TODO Remove the above while(true) loop
|
||||
// eslint-disable-next-line no-unreachable
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user