Created: 2017.04.14
MacOS creates .ds_store files to store meta data about folders.
The preceding dot causes DS_Store files to be hidden from the user, even after showing hidden files.
However these files are flagged by the WordPress Theme Check plugin:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
- Hold the ‘Option/alt’ key, then right click on the Finder icon in the dock and click Relaunch.
- Navigate to the offending directory
rm -f .DS_Store
- Hold the ‘Option/alt’ key, then right click on the Finder icon in the dock and click Relaunch (or you may have to restart the computer)