From 0dda8b58d14193ec0457dfb218812fbb4cc3089b Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 30 Sep 2023 19:45:55 +1000 Subject: [PATCH 1/2] Update PR template to use go generate command --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index da1ffa5b7..9d789cd78 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -2,7 +2,7 @@ - **Please check if the PR fulfills these requirements** -* [ ] Cheatsheets are up-to-date (run `go run scripts/cheatsheet/main.go generate`) +* [ ] Cheatsheets are up-to-date (run `go generate ./...`) * [ ] Code has been formatted (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#code-formatting)) * [ ] Tests have been added/updated (see [here](https://github.com/jesseduffield/lazygit/blob/master/pkg/integration/README.md) for the integration test guide) * [ ] Text is internationalised (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#internationalisation)) From 877c27722f6d3f4f34f637ac2c9ec4721bd0e22a Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 30 Sep 2023 19:46:03 +1000 Subject: [PATCH 2/2] add gofumpt to workspace settings --- .vscode/settings.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..219c87aea --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "gopls": { + "formatting.gofumpt": true, + }, +}