•  
      request #26383 Stylelint should not check every file in pre-commit hook
    Infos
    #26383
    Joris MASSON (jmasson)
    2022-04-08 16:48
    2022-04-08 16:14
    27907
    Details
    Stylelint should not check every file in pre-commit hook

    Following git #tuleap/stable/89c38120f462dee708bff0c2f17b09a4309058ee, the npm script used for stylelint was committed with fixed globs to look for vue and scss files. However in the case of pre-commit hooks, it means it will check every file instead of just the modified ones, thus slowing down tremendously the time to commit. We should revert this change.

    Dev tools
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2022-04-08
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2022-04-08 16:48

    Integrated into Tuleap 13.7.99.114.


    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2022-04-08