Directory names with a dot (.) in macOS I have a problem with folder naming in macOS — I need to name a folder with *.Menu in the end. But if I do that Finder thinks it's some sort of a system file and not a directory. The same goes with *.framework. Is there some setting in Finder to turn off this behaviour?
My solution is to use an underscore. I wanted to have folders like:

domainname.com
 domainname.cc

to store local versions of websites I deploy.

But have settled with underscore instead. That means I don't have to worry about the mac thinking these folders are actually files of some specific type.  If I used .cc, there's a risk the mac would think that folder is a c++ source file :)  So, I'm happy with:

domainname_com
 domainname_cc 

such that I know I don't have to worry about that.