New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Error: Unsupported function signature format." - Class constructor param. destruction #699
"Error: Unsupported function signature format." - Class constructor param. destruction #699
Comments
Please provide your ESLint config--including any |
…ing upon `MemberExpression` or other constructions within dynamic properties; fixes gajus#699
🎉 This issue has been resolved in version 32.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I've fixed it so that it should no longer throw with such dynamic properties. However, this does not currently allow for any documentation in the place of the dynamic property. Ideally we'd add an option like our If you want to be able to have such a capability to document these, feel free to file such an issue as an enhancement for tracking purposes, but no guarantees of getting to it. |
Expected behavior
If parameter destruction is used in a class constructor with dynamic property names, ESLint should not crash.
Since I don't know how jsdoc could proper document this, a first step might be not to break the entire ESLint.
Actual behavior
Parameter destruction in class constructor currently breaks ESLint.
ESLint sample
Environment
15.8.0
7.20.0
eslint-plugin-jsdoc
version:32.1.0
The text was updated successfully, but these errors were encountered: