File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
packages/eslint-config-airbnb/rules Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -266,6 +266,10 @@ module.exports = {
266266 // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/forbid-component-props.md
267267 'react/forbid-component-props' : [ 'off' , { forbid : [ ] } ] ,
268268
269+ // Forbid certain elements
270+ // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/forbid-elements.md
271+ 'react/forbid-elements' : [ 'off' , { forbid : [ ] , } ] ,
272+
269273 // Prevent problem with children and props.dangerouslySetInnerHTML
270274 // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-danger-with-children.md
271275 'react/no-danger-with-children' : 'error' ,
@@ -306,11 +310,6 @@ module.exports = {
306310 // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/require-default-props.md
307311 'react/require-default-props' : 'error' ,
308312
309- 'react/forbid-elements' : [ 'off' , {
310- forbid : [
311- ] ,
312- } ] ,
313-
314313 // Forbids using non-exported propTypes
315314 // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/forbid-foreign-prop-types.md
316315 'react/forbid-foreign-prop-types' : 'off' ,
You can’t perform that action at this time.
0 commit comments