Skip to content

Commit

Permalink
[Fix] require-default-props: fix config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
controversial authored and ljharb committed Jul 20, 2023
1 parent 31282dd commit 1a3a17a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,11 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange

## Unreleased

### Fixed
* [`require-default-props`]: fix config schema ([#3605][] @controversial)

[#3605]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3605

## [7.33.0] - 2023.07.19

### Added
Expand Down
8 changes: 2 additions & 6 deletions lib/rules/require-default-props.js
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 1a3a17a

Please sign in to comment.