justfile 🔗
@@ -11,7 +11,7 @@ default: fmt lint staticcheck test vuln reuse
fmt:
# Formatting all Go source code
go install mvdan.cc/gofumpt@latest
- gofumpt -l -w ./...
+ gofumpt -l -w .
lint:
# Linting Go source code
Amolith created
Change gofumpt command in justfile to use '.' instead of './...' to format the
root directory and not only children directories.
justfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -11,7 +11,7 @@ default: fmt lint staticcheck test vuln reuse
fmt:
# Formatting all Go source code
go install mvdan.cc/gofumpt@latest
- gofumpt -l -w ./...
+ gofumpt -l -w .
lint:
# Linting Go source code