Skip to content

Commit 52cd580

Browse files
committed
Breaking: Add missing rule schemas
1 parent d06f27b commit 52cd580

4 files changed

+13
-1
lines changed

.eslintrc

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
}],
4646

4747
"eslint-plugin/consistent-output": 0,
48-
"eslint-plugin/require-meta-schema": 0,
4948
"eslint-plugin/require-meta-type": 0
5049
},
5150
"overrides": [

lib/rules/jsx-closing-tag-location.js

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module.exports = {
2828
},
2929
fixable: 'whitespace',
3030
messages,
31+
schema: [],
3132
},
3233

3334
create(context) {

lib/rules/jsx-no-constructed-context-values.js

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ module.exports = {
137137
url: docsUrl('jsx-no-constructed-context-values'),
138138
},
139139
messages,
140+
schema: [],
140141
},
141142

142143
create(context) {

lib/rules/jsx-no-useless-fragment.js

+11
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,17 @@ module.exports = {
9494
url: docsUrl('jsx-no-useless-fragment'),
9595
},
9696
messages,
97+
schema: [
98+
{
99+
type: 'object',
100+
properties: {
101+
allowExpressions: {
102+
type: 'boolean',
103+
},
104+
},
105+
additionalProperties: false,
106+
},
107+
],
97108
},
98109

99110
create(context) {

0 commit comments

Comments
 (0)