Skip to content

Commit

Permalink
Fix to use nixfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed May 16, 2024
1 parent a6cfb5e commit 8ab83a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tasks:
- dprint fmt
- yamlfmt .
- go fmt ./...
- nix fmt ./**/*.nix
- git ls-files '*.nix' | xargs nix fmt
lint:
# go fmt does not have option for no effect - https://github.com/golang/go/issues/41189
# nix fmt does not have option for no effect - https://github.com/NixOS/nix/issues/6918
Expand All @@ -48,6 +48,8 @@ tasks:
- go vet ./...
- goreleaser check
- typos . .github .vscode
# nix fmt doesn't have check: https://github.com/NixOS/nix/issues/6918
- git ls-files '*.nix' | xargs nixfmt --check
deps:
cmds:
- nix --version
Expand Down

0 comments on commit 8ab83a4

Please sign in to comment.