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-*
|
*.db-*
|
||||||
|
|
||||||
.direnv/
|
.direnv/
|
||||||
|
|
||||||
|
pinchflat.db.backup-*
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772198003,
|
"lastModified": 1772773019,
|
||||||
"narHash": "sha256-I45esRSssFtJ8p/gLHUZ1OUaaTaVLluNkABkk6arQwE=",
|
"narHash": "sha256-E1bxHxNKfDoQUuvriG71+f+s/NT0qWkImXsYZNFFfCs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "dd9b079222d43e1943b6ebd802f04fd959dc8e61",
|
"rev": "aca4d95fce4914b3892661bcb80b8087293536c6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ pre-commit:
|
||||||
glob: '*.{ex,exs}'
|
glob: '*.{ex,exs}'
|
||||||
run: mix format --check-formatted
|
run: mix format --check-formatted
|
||||||
- name: typos
|
- name: typos
|
||||||
|
glob: '*.{md,txt}'
|
||||||
run: typos {staged_files}
|
run: typos {staged_files}
|
||||||
- name: actionlint
|
- name: actionlint
|
||||||
glob: '.github/workflows/*.{yml,yaml}'
|
glob: '.github/workflows/*.{yml,yaml}'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue