fix(lefthook): only run typos on md and txt
This commit is contained in:
parent
426c80fa92
commit
00eabddfa2
3 changed files with 6 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -47,3 +47,5 @@ scratchpad.md
|
|||
*.db-*
|
||||
|
||||
.direnv/
|
||||
|
||||
pinchflat.db.backup-*
|
||||
|
|
|
|||
|
|
@ -20,11 +20,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1772198003,
|
||||
"narHash": "sha256-I45esRSssFtJ8p/gLHUZ1OUaaTaVLluNkABkk6arQwE=",
|
||||
"lastModified": 1772773019,
|
||||
"narHash": "sha256-E1bxHxNKfDoQUuvriG71+f+s/NT0qWkImXsYZNFFfCs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "dd9b079222d43e1943b6ebd802f04fd959dc8e61",
|
||||
"rev": "aca4d95fce4914b3892661bcb80b8087293536c6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ pre-commit:
|
|||
glob: '*.{ex,exs}'
|
||||
run: mix format --check-formatted
|
||||
- name: typos
|
||||
glob: '*.{md,txt}'
|
||||
run: typos {staged_files}
|
||||
- name: actionlint
|
||||
glob: '.github/workflows/*.{yml,yaml}'
|
||||
|
|
|
|||
Loading…
Reference in a new issue