diff --git a/.golangci.yml b/.golangci.yml index 4cf1cfb6d6f..f925a98805a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -82,7 +82,7 @@ linters: - shadow misspell: locale: US - # extra words from https://go.dev//wiki/Spelling + # extra words from https://go.dev/wiki/Spelling extra-words: - typo: marshall correction: marshal diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dacef506deb..2856e886925 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -264,7 +264,7 @@ Its subcommands are: - `update-go` - updates Go files with documentation URLs and formats comments. It is used by `script/generate.sh`. -- `format` - formats whitespace in `openapi_operations.yaml` and sorts its +- `format` - formats white space in `openapi_operations.yaml` and sorts its arrays. It is used by `script/fmt.sh`. - `unused` - lists operations from `openapi_operations.yaml` that are not mapped diff --git a/tools/metadata/main.go b/tools/metadata/main.go index 8a31a4fa112..a1d5f51627a 100644 --- a/tools/metadata/main.go +++ b/tools/metadata/main.go @@ -32,7 +32,7 @@ Update go source code to be consistent with openapi_operations.yaml. - Formats modified files with the equivalent of "go fmt". `, - "format_help": `Format whitespace in openapi_operations.yaml and sort its operations.`, + "format_help": `Format white space in openapi_operations.yaml and sort its operations.`, "unused_help": `List operations in openapi_operations.yaml that aren't used by any service methods.`, "working_dir_help": `Working directory. Should be the root of the go-github repository.`, @@ -40,7 +40,7 @@ Update go source code to be consistent with openapi_operations.yaml. "openapi_validate_help": ` Instead of updating, make sure that the operations in openapi_operations.yaml's "openapi_operations" field are -consistent with the sha listed in "openapi_commit". This is run in CI as a convenience so that reviewers can trust +consistent with the SHA listed in "openapi_commit". This is run in CI as a convenience so that reviewers can trust changes to openapi_operations.yaml. `,