bugdocumentationhelp wanted
倉庫指標
- 星標
- (1,227 顆星)
- PR 合併指標
- (平均合併 2天 8小時) (30 天內合併 10 個 PR)
描述
A couple issues on the new destructuring support:
- Where a root and grandchildren are present but not children, the fixing order is off.
- As per https://github.com/gajus/eslint-plugin-jsdoc/pull/532#pullrequestreview-409240327 , we'd like to have clearer messages for reporting destructuring issues. To do this, we need to have a proper function for stringifying a destructured parameter object.
- Indicate the error line numbers
I put the issues together since for implementation, I think it will be easiest to refactor getFunctionParameterNames to handle both cases (perhaps avoiding flattening--need to investigate).
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.