Skip to content

Commit d32f547

Browse files
committed
feat(react): prop-types back on
1 parent 42bb2aa commit d32f547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = {
4747
'react/no-unused-prop-types': 1, // Prevent definitions of unused prop types
4848
'react/prefer-es6-class': 0, // Enforce ES5 or ES6 class for React Components
4949
'react/prefer-stateless-function': 1, // Enforce stateless React Components to be written as a pure function
50-
'react/prop-types': 0, // Prevent missing props validation in a React component definition
50+
'react/prop-types': 1, // Prevent missing props validation in a React component definition
5151
'react/react-in-jsx-scope': 1, // Prevent missing React when using JSX,
5252
'react/require-default-props': 1, // Enforce a defaultProps definition for every prop that is not a required prop
5353
'react/require-optimization': 0, // Enforce React components to have a shouldComponentUpdate method

0 commit comments

Comments
 (0)