react/scripts/eslint-rules/__tests__
Laura buns b43eec7eaa 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
2019-12-06 18:25:54 +00:00
..
no-primitive-constructors-test.internal.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
no-production-logging-test.internal.js Replace `wrap-warning-with-env-check` with an eslint plugin (#17540) 2019-12-06 18:25:54 +00:00
no-to-warn-dev-within-to-throw-test.internal.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
warning-and-invariant-args-test.internal.js Set up experimental builds (#17071) 2019-10-14 10:46:42 -07:00