Vale CMS Need more than a rule playground? Explore

What the style guides say

“sub-directory” or “sub directory”

2 of 16 open style guides have a rule about “sub-directory” or “sub directory.” Both say to write “subdirectory” instead.

Write this instead

  • subdirectory 2 guides

    Red Hat, GitLab

Guide by guide

  • Red Hat sub-directory → Write subdirectory Hyphens · warning
  • GitLab sub directory → Write subdirectory Substitution warning · warning
  • GitLab sub-directory → Write subdirectory Substitution warning · warning

No rule names it in Google, Microsoft, IBM, Grafana, Elastic, Datadog, Splunk, Salesforce, Docker, Canonical, Apify, Spectro Cloud, 18F, GOV.UK. That doesn’t mean those guides approve of it, only that no rule lists it.

Catch it in every draft

Each line above is a rule one of these organizations publishes for Vale, an open-source linter for prose. Install a guide’s rules and Vale flags the term wherever it appears, in your editor and on every pull request.