SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Remove the condition argument from warning() (#17568)

* prep for codemod

* prep warnings

* rename lint rules

* codemod for ifs

* shim www functions

* Handle more cases in the transform

* Thanks De Morgan

* Run the codemod

* Delete the transform

* Fix up confusing conditions manually

* Fix up www shims to match expected API

* Also check for low-pri warning in the lint rule
L
Laura buns committed
9ac42dd074c42b66ecc0334b75200b1d2989f892
Parent: 7bf40e1
Committed by Dan Abramov <[email protected]> on 12/11/2019, 3:28:14 AM