@will-stone/eslint-config 6.0.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rules/react.js +2 -6
package/package.json
CHANGED
package/rules/react.js
CHANGED
|
@@ -49,12 +49,8 @@ module.exports = {
|
|
|
49
49
|
'react/react-in-jsx-scope': 'off',
|
|
50
50
|
|
|
51
51
|
// Enforce a defaultProps definition for every prop that is not a required prop
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
{
|
|
55
|
-
ignoreFunctionalComponents: true,
|
|
56
|
-
},
|
|
57
|
-
],
|
|
52
|
+
// TODO turn this back on and create a react-typescript rule set for disabling thing like this.
|
|
53
|
+
'react/require-default-props': 'off',
|
|
58
54
|
|
|
59
55
|
// Do not enforce React components to have a shouldComponentUpdate method.
|
|
60
56
|
'react/require-optimization': 'off',
|