Skip to content

Commit

Permalink
Breaking: Add missing rule schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish committed Oct 16, 2021
1 parent 210865e commit 7cec124
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/rules/jsx-closing-tag-location.js
Expand Up @@ -27,8 +27,8 @@ module.exports = {
url: docsUrl('jsx-closing-tag-location')
},
fixable: 'whitespace',

messages
messages,
schema: []
},

create(context) {
Expand Down
13 changes: 12 additions & 1 deletion lib/rules/jsx-no-useless-fragment.js
Expand Up @@ -93,7 +93,18 @@ module.exports = {
recommended: false,
url: docsUrl('jsx-no-useless-fragment')
},
messages
messages,
schema: [
{
type: 'object',
properties: {
allowExpressions: {
type: 'boolean'
}
},
additionalProperties: false
}
]
},

create(context) {
Expand Down

0 comments on commit 7cec124

Please sign in to comment.