all file names lowercase - use hyphens instead of camelcase
See original GitHub issueStrange mixture of camelcase and hyphenated files when I used:
npx create-react-app . --typescript
I would recommend only lowercase filenames - the technical reason is that macos is case insensitive and linux is not. so macos fs won’t see file renamings easily when using git etc. people that know will know what I am talking about
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Filenames and file types - Google Developers
Key Point: Use all lowercase, and separate words with hyphens. Make file and directory names lowercase. Use hyphens, not underscores, to separate words—for ......
Read more >File Naming Conventions | INLS 161-001 Spring 2022
Generally, I don't use any characters for file naming outside of these: ... usually use CamelCase and stick to all lower case and...
Read more >What are good file naming conventions?
The lowercase letters will all display grouped together after the upper cased ones. This is why it's suggested that file names be used...
Read more >Kebab vs. camel case: How these naming conventions differ
Both kebab case and camel case are naming conventions that try make it easier to read compound words that form a single variable...
Read more >What's the name for hyphen-separated case? - Stack Overflow
@CatPlusPlus Lisp uses this-case, and because Google treats a - as a space, almost every SEO friendly URL uses it too. – lmirosevic....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is something that’s been nagging away in the back of my mind for quite a while, I’m not completely sure where the convention arose from.
The lowercase filename convention is far more friendly towards non-Linux systems!
@ianschmitz that may be so, but have to stop digging the pit at some point. Mixture of upper and lower case filenames is bad for technical reasons mentioned above. Basically any system that is not type-checked - I always use lower case names only.