style: reformat with golines and enforce on commit
1 file changed, 8 insertions(+), 0 deletions(-)
changed files
M default.nix → default.nix
@@ -61,6 +61,14 @@ yamllint = { enable = true; }; + golines = { + enable = true; + name = "golines"; + description = "A golang formatter that fixes long lines"; + types_or = [ "go" ]; + entry = "${pkgs.golines}/bin/golines --write-output"; + pass_filenames = true; + }; go-mod-tidy = { enable = true; name = "go-mod-tidy";