File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ module.exports = {
5757 'react/no-unused-prop-types' : 1 , // Prevent definitions of unused prop types
5858 'react/no-will-update-set-state' : 2 , // Prevent usage of `setState` in `componentWillUpdate`
5959 'react/prefer-es6-class' : 1 , // Enforce ES5 or ES6 class for React Components
60- 'react/prefer-stateless-function' : 1 , // Enforce stateless React Components to be written as a pure function
60+ 'react/prefer-stateless-function' : 0 , // Enforce stateless React Components to be written as a pure function
6161 'react/prop-types' : 0 , // Prevent missing props validation in a React component definition
6262 'react/react-in-jsx-scope' : 1 , // Prevent missing React when using JSX,
6363 'react/require-default-props' : 0 , // Enforce a defaultProps definition for every prop that is not a required prop
You can’t perform that action at this time.
0 commit comments