Skip to content

Commit 34d3728

Browse files
committed
This never existed
1 parent 9668ee0 commit 34d3728

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Diff for: docs/rules/no-unstable-nested-components.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ function Component() {
123123
"react/no-unstable-nested-components": [
124124
"off" | "warn" | "error",
125125
{
126-
"allowAsProps": true | false,
127-
"customValidators": [] /* optional array of validators used for propTypes validation */
126+
"allowAsProps": true | false
128127
}
129128
]
130129
...

Diff for: lib/rules/no-unstable-nested-components.js

-6
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,6 @@ module.exports = {
268268
schema: [{
269269
type: 'object',
270270
properties: {
271-
customValidators: {
272-
type: 'array',
273-
items: {
274-
type: 'string',
275-
},
276-
},
277271
allowAsProps: {
278272
type: 'boolean',
279273
},

0 commit comments

Comments
 (0)