•  
      request #12155 Prettier pre-commit hooks outputs error message when no JS file is committed
    Infos
    #12155
    Joris MASSON (jmasson)
    2018-08-21 12:21
    2018-08-21 11:44
    12783
    Details
    Prettier pre-commit hooks outputs error message when no JS file is committed
    When I don't change any .js or .vue file in my commit, the prettier pre-commit hook will complain:

    [error] No parser and no file path given, couldn't infer a parser.

    It should ignore and exit 0.
    Introduced by commit #04559a5b0f
    Dev tools
    development
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-08-21
    Attachments
    Empty
    References

    Follow-ups