Skip to content

Commit

Permalink
docs: updates on workflows
Browse files Browse the repository at this point in the history
Added information on documentation
  • Loading branch information
ADMSK\AVROGAL1 committed Mar 15, 2021
1 parent e77a8fe commit 2598454
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
pre-commit:
parallel: true
commands:
prettier:
files: git diff --name-only @{push}
glob: "*.{js,ts}"
run: npx prettier --single-quote --write
linter:
files: git diff --name-only @{push}
glob: "*.{js,ts}"
run: npx eslint {files}
run: npx eslint --cache --fix --quiet --format codeframe --ext js,ts {files}
tests:
files: git diff --name-only @{push}
glob: "*.{js,ts}"
Expand Down

0 comments on commit 2598454

Please sign in to comment.