Skip to content

Add lint check to prevent having TODO in public JsDoc comments #4026

Closed

Description

@jelbourn
No description provided.

Activity

  1. added
    feature
    help wanted
    area: dev-infra
    P5
    on Apr 11, 2017
  2. M-a-c commented on Apr 11, 2017

    @M-a-c
    Contributor

    @devversion Is this the correct approach for this type of problem?

    would adding a check for an @todo tag be sufficient or just using regex?
    I am not sure if // qualifies as a JSDoc, i was just going to copy how you remove @docs-private
    Is it ok to search for TODO and just return false in kind of like you do in this code.
    https://github.com/angular/material2/blob/master/tools/dgeni/processors/docs-private-filter.js#L52-L55

    Documentation on Dengi seems to be limited.
    is doc.returns actually the content in the JSDoc/*** TODO here ***/if it were a doc would return TODO here?

    also are // comments picked up by the dgnei or only /*** comments ***/

  3. jelbourn commented on Apr 11, 2017

    @jelbourn
    ContributorAuthor

    This isn't really something that fits into dgeni, which isn't currently run on CI.

  4. added a commit that references this issue on Apr 12, 2017
    0ccbb0e
  5. self-assigned this
    on Apr 12, 2017
  6. added a commit that references this issue on Apr 14, 2017
    a773515
  7. added a commit that references this issue on Apr 16, 2017
    ac476e4
  8. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  9. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P5area: dev-infrafeaturehelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions