Skip to content

Update eslint-plugin-react #391

Closed
Closed
@efueger

Description

@efueger

Description

Repo using eslint-4 channel and erroring with:

/usr/local/node_modules/eslint-plugin-react/lib/rules/no-unused-prop-types.js:663
            properties = node.params[1].properties;
                                       ^

TypeError: Cannot read property 'properties' of undefined
    at markPropTypesAsUsed (/usr/local/node_modules/eslint-plugin-react/lib/rules/no-unused-prop-types.js:663:40)

I think this might be related to a versioning difference with eslint-plugin-react:

  • our eslint-4 channel is compatible with v7.7.0,
  • and it looks like there was a change in support for no-unused-prop-types in v7.8.0.

Repo's config files:

Contact @efueger for any additional info needed 👍

Metadata

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