Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !424

Merged
Created Oct 25, 2018 by Jérome Perrin@jeromeOwner

Use husky and lint-staged to manage commit hooks

  • Overview 9
  • Commits 2
  • Changes 4

https://github.com/typicode/husky/ and https://github.com/okonet/lint-staged are popular tools from javascript ecosystem to manage git commit hooks to do static checks. We already have some tools, but it's hard to find out how to use them, so having an easy way to install git hooks seems nice (even if we don't need all the 🦄 and 🌈 )

This repo is not javascript, I believe we can put a package.json here anyway.

demo: husky

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feat/husky
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7