Skip to content

Commit

Permalink
[Fix] forbid-dom-props, function-component-definition: fix schema…
Browse files Browse the repository at this point in the history
… typos

Fixes #2665. Fixes #2666.
  • Loading branch information
mflorence99 authored and ljharb committed Jun 9, 2020
1 parent 13a863b commit 78e48c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rules/forbid-dom-props.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
forbid: {
type: 'array',
items: {
onfOf: [{
oneOf: [{
type: 'string'
}, {
type: 'object',
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/function-component-definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
},
Expand Down

0 comments on commit 78e48c8

Please sign in to comment.