One option is embedded caps with hyphens:
Exclude-Dirs:
- *.css
- *.go
- backup
Or all lowercase, for consistency and ease of typing? It's a bit harder to scan in a long listing. exclude-dirs:
- *.css
- *.go
- backup
I'm going to avoid the programmery compound words, like this, because I'm angling somewhat for the power user, as opposed to programmer, audience: # Nope
excludedirs:
- *.css
- *.go
- backup
I personally suggest snake_case for five reasons:
1) It's very readable (an underscore visually mimics a space between words)
2) The question of case sensitivity is avoided because it's all lower case
3) No one has to remember whether the capitalization is PaschalCase or camelCase or whatever the other cases are -- it's just lowercase all the way through
4) The YAML key becomes a valid variable in every modern programming language (which is not true if you use a hyphen)
5) Double-click in any system will select the_whole_key instead of separate-words (test those in your browser to see what I mean)