Skip to content

Commit 8a2e909

Browse files
authored
chore: Spell white space instead of whitespace (#4047)
1 parent 7ac726c commit 8a2e909

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ linters:
8282
- shadow
8383
misspell:
8484
locale: US
85-
# extra words from https://go.dev//wiki/Spelling
85+
# extra words from https://go.dev/wiki/Spelling
8686
extra-words:
8787
- typo: marshall
8888
correction: marshal

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Its subcommands are:
264264
- `update-go` - updates Go files with documentation URLs and formats comments.
265265
It is used by `script/generate.sh`.
266266

267-
- `format` - formats whitespace in `openapi_operations.yaml` and sorts its
267+
- `format` - formats white space in `openapi_operations.yaml` and sorts its
268268
arrays. It is used by `script/fmt.sh`.
269269

270270
- `unused` - lists operations from `openapi_operations.yaml` that are not mapped

tools/metadata/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ Update go source code to be consistent with openapi_operations.yaml.
3232
- Formats modified files with the equivalent of "go fmt".
3333
`,
3434

35-
"format_help": `Format whitespace in openapi_operations.yaml and sort its operations.`,
35+
"format_help": `Format white space in openapi_operations.yaml and sort its operations.`,
3636
"unused_help": `List operations in openapi_operations.yaml that aren't used by any service methods.`,
3737

3838
"working_dir_help": `Working directory. Should be the root of the go-github repository.`,
3939
"openapi_ref_help": `Git ref to pull OpenAPI descriptions from.`,
4040

4141
"openapi_validate_help": `
4242
Instead of updating, make sure that the operations in openapi_operations.yaml's "openapi_operations" field are
43-
consistent with the sha listed in "openapi_commit". This is run in CI as a convenience so that reviewers can trust
43+
consistent with the SHA listed in "openapi_commit". This is run in CI as a convenience so that reviewers can trust
4444
changes to openapi_operations.yaml.
4545
`,
4646

0 commit comments

Comments
 (0)