Hidden folders are explicitly filtered out from the analysis. This is hardcoded in the SonarQube scanner. It simply does not waste time analyzing technical locations that are not part of the source code (.git, .svn, ...). I think most IDEs do not display hidden files, so this seems consistent.
source share