Skip to content

Commit aa3e22a

Browse files
eduardoboucasfkling
authored andcommitted
Add developit/proptypes to allowed module names (#163)
1 parent da97fc6 commit aa3e22a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/isReactModuleName.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*/
1212

13-
var reactModules = ['react', 'react/addons', 'react-native'];
13+
var reactModules = ['react', 'react/addons', 'react-native', 'proptypes'];
1414

1515
/**
1616
* Takes a module name (string) and returns true if it refers to a root react

0 commit comments

Comments
 (0)