Skip to content

Commit

Permalink
Fix JSON schema for require-default-props
Browse files Browse the repository at this point in the history
  • Loading branch information
controversial authored Jul 20, 2023
1 parent 31282dd commit 4c41de6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/rules/require-default-props.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,10 @@ module.exports = {
type: 'boolean',
},
classes: {
allow: {
enum: ['defaultProps', 'ignore'],
},
enum: ['defaultProps', 'ignore'],
},
functions: {
allow: {
enum: ['defaultArguments', 'defaultProps', 'ignore'],
},
enum: ['defaultArguments', 'defaultProps', 'ignore'],
},
/**
* @deprecated
Expand Down

0 comments on commit 4c41de6

Please sign in to comment.