Files
react/grunt/tasks
Benjamin Woodruff 17e7046754 Add custom eslint rule for warning and invariant
See #2869

Checks that the *second* argument of warning and invariant are a literal
string, or a concatination of literal strings, and that the number of
arguments is correct based on the number of %s substrings.

This commit also fixes a few places where the existing code had broken
error messages!

The rule itself is pretty straightforward, although adding the tests
ended up being a bit painful, as eslint-tester depends on mocha, and
therefore needs to be run in a separate grunt task.
2015-06-03 17:19:32 -07:00
..
2015-02-13 02:43:42 +03:00
2015-02-13 02:43:42 +03:00
2015-02-13 02:43:42 +03:00
2015-02-13 02:43:42 +03:00
2015-02-13 02:43:42 +03:00
2015-02-13 02:43:42 +03:00