fix(lefthook): changed hooks
This commit is contained in:
parent
b9fc9db537
commit
590e15c2c6
1 changed files with 2 additions and 2 deletions
|
|
@ -3,10 +3,10 @@ pre-commit:
|
|||
jobs:
|
||||
- name: prettier
|
||||
glob: '*.{css,html,js,json,md,mjs,ts,yaml,yml}'
|
||||
run: prettier --check --config=.prettierrc.js --ignore-path=.prettierignore --ignore-path=.gitignore {staged_files}
|
||||
run: docker compose run --rm phx yarn run prettier --check --config=.prettierrc.js --ignore-path=.prettierignore --ignore-path=.gitignore {staged_files}
|
||||
- name: mix format
|
||||
glob: '*.{ex,exs}'
|
||||
run: mix format --check-formatted
|
||||
run: docker compose run --rm phx mix format --check-formatted
|
||||
- name: typos
|
||||
glob: '*.{md,txt}'
|
||||
run: typos {staged_files}
|
||||
|
|
|
|||
Loading…
Reference in a new issue