mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
21ca3f732f
Closes #3971. > After #3968, the next thing we should do is start linting our tests. > Historically we've ignored them due to lack of parser compatibility. > But that shouldn't be a problem anymore. We may want to integrate > https://www.npmjs.com/package/eslint-plugin-react to more aggressively > lint our JSX in tests. I understand this diff touches a lot of stuff, so I tried to keep it to a near-minimal set of changes to make eslint happy.
9 lines
217 B
JavaScript
9 lines
217 B
JavaScript
var warning = require('./lib/warning');
|
|
warning(
|
|
false,
|
|
"require('react/addons') is deprecated. " +
|
|
"Access using require('react/addons/{addon}') instead."
|
|
);
|
|
|
|
module.exports = require('./lib/ReactWithAddons');
|