diff --git a/lib/rules/forbid-dom-props.js b/lib/rules/forbid-dom-props.js index d39121187a..18a04d823e 100644 --- a/lib/rules/forbid-dom-props.js +++ b/lib/rules/forbid-dom-props.js @@ -32,7 +32,7 @@ module.exports = { forbid: { type: 'array', items: { - onfOf: [{ + oneOf: [{ type: 'string' }, { type: 'object', diff --git a/lib/rules/function-component-definition.js b/lib/rules/function-component-definition.js index 3833188a81..e782d7cd31 100644 --- a/lib/rules/function-component-definition.js +++ b/lib/rules/function-component-definition.js @@ -100,7 +100,7 @@ module.exports = { meta: { docs: { description: 'Standardize the way function component get defined', - category: 'Stylistic issues', + category: 'Stylistic Issues', recommended: false, url: docsUrl('function-component-definition') },