You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I comment out the line with "value": renamedValue, the parser continues to work. This is a rare use case, because normally you can omit the quotes, but becomes necessary if the key includes a hyphen like { "renamed-value": renamedValue }
Expected behavior
The parser should be able to handle destructuring with renaming in function parameters when the key is a string.
Actual behavior
Eslint throws the
Unsupported function signature format
error and stops linting:The offending code
If I comment out the line with
"value": renamedValue
, the parser continues to work. This is a rare use case, because normally you can omit the quotes, but becomes necessary if the key includes a hyphen like{ "renamed-value": renamedValue }
Environment
v14.2.0
[email protected]
eslint-plugin-jsdoc
version:27.1.1
The text was updated successfully, but these errors were encountered: