eslint-config-seekingalpha-react 10.38.0 → 10.39.0
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -159,6 +159,7 @@ export default {
|
|
|
159
159
|
'react/no-find-dom-node': 'error',
|
|
160
160
|
'react/no-is-mounted': 'error',
|
|
161
161
|
'react/no-namespace': 'error',
|
|
162
|
+
'react/no-object-type-as-default-prop': 'error',
|
|
162
163
|
'react/no-redundant-should-component-update': 'error',
|
|
163
164
|
'react/no-render-return-value': 'error',
|
|
164
165
|
'react/no-set-state': 'off',
|
|
@@ -168,6 +169,7 @@ export default {
|
|
|
168
169
|
'react/no-unescaped-entities': 'error',
|
|
169
170
|
'react/no-unknown-property': 'error',
|
|
170
171
|
'react/no-unsafe': 'error',
|
|
172
|
+
'react/no-unstable-nested-components': 'error',
|
|
171
173
|
'react/no-will-update-set-state': 'error',
|
|
172
174
|
'react/prefer-es6-class': ['error', 'always'],
|
|
173
175
|
'react/react-in-jsx-scope': 'off',
|
|
@@ -35,6 +35,7 @@ export const ESLintPluginReactDisabled = {
|
|
|
35
35
|
'react/no-find-dom-node': 'off',
|
|
36
36
|
'react/no-is-mounted': 'off',
|
|
37
37
|
'react/no-namespace': 'off',
|
|
38
|
+
'react/no-object-type-as-default-prop': 'off',
|
|
38
39
|
'react/no-multi-comp': 'off',
|
|
39
40
|
'react/no-redundant-should-component-update': 'off',
|
|
40
41
|
'react/no-render-return-value': 'off',
|
|
@@ -44,6 +45,7 @@ export const ESLintPluginReactDisabled = {
|
|
|
44
45
|
'react/no-unescaped-entities': 'off',
|
|
45
46
|
'react/no-unknown-property': 'off',
|
|
46
47
|
'react/no-unsafe': 'off',
|
|
48
|
+
'react/no-unstable-nested-components': 'off',
|
|
47
49
|
'react/no-will-update-set-state': 'off',
|
|
48
50
|
'react/prefer-es6-class': 'off',
|
|
49
51
|
'react/react-in-jsx-scope': 'off',
|