WordPress-Coding-Standards/_typos.toml
jrfnl 99dc5ee4b7
Spellcheck: add some exceptions and fix some typos
Mostly US English vs UK English and as WP Core predominantly uses US English, I think we should standardize on that for this spellcheck as well.

Note: where text was copied from the rules on https://developer.wordpress.org/coding-standards/ (typically to the `ruleset.xml` files), the text upstream has been updated via WordPress/wpcs-docs#151.
2025-06-26 13:00:00 +02:00

26 lines
634 B
TOML

[files]
extend-exclude = [
"WordPress/Tests/*/*.inc",
"WordPress/Tests/*/*.fixed",
"WordPress/Tests/*/*.css",
"WordPress/Tests/*/*.js",
]
ignore-hidden = true
[default]
locale = "en-us"
check-filename = true
extend-ignore-identifiers-re = [
# Renaming these (function/array key) names would be a BC-break.
'analyse_implode',
'analyse_sprintf',
'cachable',
'is_targetted_token',
# These are search targets for sniffs, can't be helped.
'avail_post_stati',
'url_is_accessable_via_ssl',
]
[default.extend-words]
# Don't correct a limited list of specific words.
Automattic = "Automattic"