style: with prettier (#762)

* style: use pretty quick on staged files

* style: test edit utils

* style: try with lint-staged

* style: test lint application
This commit is contained in:
Laurent Senta
2021-12-06 15:27:18 +01:00
committed by GitHub
parent 31c48af01c
commit c27dce1ab7
7 changed files with 342 additions and 56 deletions

5
.husky/pre-commit Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# npx pretty-quick --staged # trying lint-staged for now, it is slower but uses eslint.
npx lint-staged