File tree Expand file tree Collapse file tree
packages/eslint-config-react/rules Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,13 +56,27 @@ module.exports = {
5656 } ,
5757 ] ,
5858
59+ /*
60+ Enforce that namespaces are not used in React elements
61+ https://github.com/yannickcr/eslint-plugin-react/blob/8785c169c25b09b33c95655bf508cf46263bc53f/docs/rules/no-namespace.md
62+ TODO: part of but not enabled yet as of airbnb@18.2.1, remove when enabled
63+ */
64+ 'react/no-namespace' : 'warn' ,
65+
5966 /*
6067 Prevent creating unstable components inside components
6168 https://github.com/yannickcr/eslint-plugin-react/blob/c2a790a3472eea0f6de984bdc3ee2a62197417fb/docs/rules/no-unstable-nested-components.md
6269 TODO: not released as of airbnb@18.2.1, recheck when released
6370 */
6471 'react/no-unstable-nested-components' : 'warn' ,
6572
73+ /*
74+ Prefer exact proptype definitions
75+ https://github.com/yannickcr/eslint-plugin-react/blob/8785c169c25b09b33c95655bf508cf46263bc53f/docs/rules/prefer-exact-props.md
76+ TODO: part of but not enabled yet as of airbnb@18.2.1, remove when enabled
77+ */
78+ 'react/prefer-exact-props' : 'off' ,
79+
6680 /*
6781 Disallow unnecessary fragments
6882 https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-useless-fragment.md
You can’t perform that action at this time.
0 commit comments