Always fix gofmt without asking, overriding only-reformat-lines-you-touch
This commit is contained in:
@@ -75,6 +75,7 @@
|
|||||||
- Install binaries to `~/bin` (`go env -w GOBIN=$HOME/bin`), not `~/.local/bin` — no hiding tools under dotfile paths.
|
- Install binaries to `~/bin` (`go env -w GOBIN=$HOME/bin`), not `~/.local/bin` — no hiding tools under dotfile paths.
|
||||||
- Use literal initialization (`map[string]bool{}`) over `make()`.
|
- Use literal initialization (`map[string]bool{}`) over `make()`.
|
||||||
- All-lowercase log messages. Prepend `[ERROR]` where applicable.
|
- All-lowercase log messages. Prepend `[ERROR]` where applicable.
|
||||||
|
- Always fix gofmt without asking: any Go file you see that `gofmt -l` flags gets fixed, including lines you didn't write. This overrides "only reformat lines you touch".
|
||||||
|
|
||||||
# Shell
|
# Shell
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user