react/scripts/eslint-rules
Brian Vaughn e106b8c44f
Warn about unsafe toWarnDev() nesting in tests (#12457)
* Add lint run to warn about improperly nested toWarnDev matchers
* Updated tests to avoid invalid nesting
2018-08-21 07:43:02 -07:00
..
__tests__ Warn about unsafe toWarnDev() nesting in tests (#12457) 2018-08-21 07:43:02 -07:00
index.js Warn about unsafe toWarnDev() nesting in tests (#12457) 2018-08-21 07:43:02 -07:00
no-primitive-constructors.js Update prettier to 1.8.1 (#10785) 2017-11-07 18:09:33 +00:00
no-to-warn-dev-within-to-throw.js Warn about unsafe toWarnDev() nesting in tests (#12457) 2018-08-21 07:43:02 -07:00
package.json Simplify Jest config a little bit (#11242) 2017-10-16 23:17:00 +01:00
README.md Simplify Jest config a little bit (#11242) 2017-10-16 23:17:00 +01:00
warning-and-invariant-args.js Change warning() to automatically inject the stack, and add warningWithoutStack() as opt-out (#13161) 2018-07-16 22:31:59 +01:00

Custom ESLint Rules

This is a dummy npm package that allows us to treat it as an eslint-plugin. It's not actually published, nor are the rules here useful for users of React. If you want to lint your React code, try https://github.com/yannickcr/eslint-plugin-react.

If you modify this rule, you must re-run npm install ./eslint-rules for it to take effect.