mirror of
https://github.com/coder/coder.git
synced 2026-09-01 14:53:15 +08:00
chore: allowlist Go-standard marshal spelling in typos config (#26891)
typos-cli 1.47.x started flagging `unmarshaling` and `marshaling` as
misspellings of the British-English double-l forms.
The Go standard library uses the single-l American English spelling
throughout `encoding/json`, `encoding/xml`, etc., so these are correct
and intentional.
Adds both words to the `extend-words` allowlist so the linter accepts
the canonical Go spelling regardless of which typos version is in use.
---
🤖 Built with AI assistance.
This commit is contained in:
@@ -36,6 +36,9 @@ typ = "typ"
|
||||
styl = "styl"
|
||||
edn = "edn"
|
||||
Inferrable = "Inferrable"
|
||||
# Go standard library uses American English single-l spelling throughout encoding/json etc.
|
||||
unmarshaling = "unmarshaling"
|
||||
marshaling = "marshaling"
|
||||
IIF = "IIF"
|
||||
|
||||
[files]
|
||||
|
||||
Reference in New Issue
Block a user