tongwentang / tongwentang-extension

MIT License
132 stars 15 forks source link

build: Make lint-staged working with .husky #25

Closed ensky closed 3 years ago

ensky commented 3 years ago
  1. make husky uses lint-staged
  2. chmod +x ./husky/pre-commit to make it work
  3. make lint-staged call related linter directly to prevent lint all src files