Skip to content

'prop-types' rule doesn't recognize 'this-format' properties name #118

Closed
@AlexKVal

Description

I wasn't been able to find out such issue. Sorry if I missed one.

propTypes: {
  ...
  'aria-controls': React.PropTypes.string
},

let {
  ...
  'aria-controls': ariaControls,  // <- error 'undefined' is missing in props validation  react/prop-types
  ...props } = this.props; // eslint-disable-line object-shorthand
error  'undefined' is missing in props validation  react/prop-types

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions