commit 2f25d17715f8a557c381c5a1fe1381191a29b524 parent 7d072130202a084142051e44f202918c65c60cc6 Author: Vincent Demeester <vincent@sbr.pm> Date: Thu, 16 Aug 2018 15:00:59 +0200 Add golangci-lint alias Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | fish/nix-aliases.fish | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/fish/nix-aliases.fish b/fish/nix-aliases.fish @@ -7,5 +7,9 @@ function wakeonlan end function pprof - nix run nixpkgs.pprof -c pprof $argv + nix run -f ~/.config/nixpkgs/channels.nix unstable.pprof -c pprof $argv +end + +function golangci-lint + nix run -f ~/.config/nixpkgs/channels.nix unstable.golangci-lint -c golangci-lint $argv end