What the style guides say
“file name”
4 of 16 open style guides have a rule about “file name.” All 4 say to write “filename” instead.
Write this instead
- filename 4 guides
Google, GitLab, Grafana, Docker
Guide by guide
- Google Write filename Word list case · warning
- GitLab Write filename Substitution warning · warning
- Grafana Write filename Word list · warning
- Docker Write filename Recommended words · suggestion
No rule names it in Microsoft, Red Hat, IBM, Elastic, Datadog, Splunk, Salesforce, Canonical, Apify, Spectro Cloud, 18F, GOV.UK. That doesn’t mean those guides approve of it, only that no rule lists it.
Guides that ask for it
One guide’s fix can be another guide’s error. These rules tell writers to use “file name”.
- Splunk says to write it instead of filename
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.