8000 prettier : show involved file when failure · Issue #189 · sogilis/Blog · GitHub
[go: up one dir, main page]

Skip to content

prettier : show involved file when failure #189

Open

Description

@jibidus

In case of prettier check failure, it is hard to find out what is the problem (which rule is involved) and where is the problem (which file, which line). So it takes some time to find how to fix the issue, whereas it may be avoided easily:

  • display which file is not valid + which rule is violated

More over, the task yarn prettier:format (which can be used to resolve the violation, or not) does not follow the prettier semantic for the same purpose : write. So, this may be time consuming for new dev which already know prettier (very widely used) and is easy to fix:

  • rename task prettier:format to prettier:write.

Activity

  1. JulioJu commented on Oct 8, 2020

    @JulioJu
    Contributor

    I don't understand what is the problem.

  2. jibidus commented on Oct 8, 2020

    @jibidus
    ContributorAuthor

    Je modifié la description pour j'espère être plus clair.

  3. JulioJu commented on Oct 8, 2020

    @JulioJu
    Contributor

    Ah ok, cool, je comprends mieux :-) . Merci :-) .

  4. jibidus commented on Oct 8, 2020

    @jibidus
    ContributorAuthor

    ❓

  5. JulioJu commented on Oct 8, 2020

    @JulioJu
    Contributor

    question

    Je me mélange dans les PR (c'est ça de bosser pour ma boîte et de checker mes notifs GitHub en même temps)

    J'ai viré mon commentaire hors sujet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0