Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
# While Vale.Terms could be used for these, it is too inflexible, and thus incapable
# of ignoring common false-positives like GitHub usernames or GitHub team names
extends: substitution
message: "Incorrect casing. Use '%s' instead of '%s'."
level: error
ignorecase: false
scope:
# Non-code sentence level text OR headings
- summary
- heading
swap:
# [^/\.] prevents matching things that look like URLs, file paths, or GitHub team mentions
# For example: @WordPress/openverse-maintainers
'[^/\.]openverse[^/\.]': Openverse
'[^/\.]wordpress[^/\.]': WordPress
'[^/\.]github[^/\.]': GitHub
'[^/\.]vue[^/\.]': Vue
# OpenVerse, Wordpress, Github and Glotpress should never be used, except as an example of
# something that is always wrong, in which case we'll tell Vale to ignore that line.
"OpenVerse": Openverse
"Wordpress": WordPress
"Github": GitHub
"Glotpress": GlotPress
"vue": Vue