Skip to content

Crash after upgrading from v24.0.6 #536

@jaydenseric

Description

@jaydenseric

Something changed between v24.0.6 and v25.0.0 to cause this exception:

Oops! Something went wrong! :(

ESLint: 7.0.0

Error: Unsupported function signature format.
Occurred while linting /[redacted]/graphql-react/src/universal/GraphQL.js:139
    at getParamName (/[redacted]/graphql-react/node_modules/eslint-plugin-jsdoc/dist/jsdocUtils.js:173:11)
    at /[redacted]/graphql-react/node_modules/eslint-plugin-jsdoc/dist/jsdocUtils.js:129:16
    at Array.map (<anonymous>)
    at getParamName (/[redacted]/graphql-react/node_modules/eslint-plugin-jsdoc/dist/jsdocUtils.js:128:32)
    at /[redacted]/graphql-react/node_modules/eslint-plugin-jsdoc/dist/jsdocUtils.js:177:12
    at Array.map (<anonymous>)
    at Object.getFunctionParameterNames (/[redacted]/graphql-react/node_modules/eslint-plugin-jsdoc/dist/jsdocUtils.js:176:30)
    at Object.utils.getFunctionParameterNames (/[redacted]/graphql-react/node_modules/eslint-plugin-jsdoc/dist/iterateJsdoc.js:182:32)
    at _default.meta.fixable (/[redacted]/graphql-react/node_modules/eslint-plugin-jsdoc/dist/rules/checkParamNames.js:199:40)
    at iterate (/[redacted]/graphql-react/node_modules/eslint-plugin-jsdoc/dist/iterateJsdoc.js:491:3)

Here is the doclet it has a problem with:

https://github.com/jaydenseric/graphql-react/blob/1bb884d0a9043f84727291c8580ab91fdc9ff196/src/universal/GraphQL.js#L139

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions