mirror of
https://github.com/WordPress/WordPress-Coding-Standards.git
synced 2025-08-30 03:11:24 +08:00
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.
26 lines
634 B
TOML
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"
|