SIGN IN SIGN UP

Replace `wrap-warning-with-env-check` with an eslint plugin (#17540)

* Replace Babel plugin with an ESLint plugin

* Fix ESLint rule violations

* Move shared conditions higher

* Test formatting nits

* Tweak ESLint rule

* Bugfix: inside else branch, 'if' tests are not satisfactory

* Use a stricter check for exactly if (__DEV__)

This makes it easier to see what's going on and matches dominant style in the codebase.

* Fix remaining files after stricter check
L
Laura buns committed
b43eec7eaad14747d24ef24a06b27cb2a5653bbc
Parent: acfe4b2
Committed by Dan Abramov <dan.abramov@gmail.com> on 12/6/2019, 6:25:54 PM