I assume that you are using the latest version of StyleCop (4.7.41.0) or a version close to this one. In version 4.7, many changes and fixes were made, and fairly regular updates were released.
I assume there should be another Settings.StyleCop file in the folder hierarchy below (in the subfolder) that sets the culture to ru-US . Changing other rules in this settings file (e.g. TabsMustNotBeUsed) will still behave as expected if you do not set it again in another settings file. A potential reason could be the working folder from which the StyleCop runs.
I suggest performing a quick scan on your file system to see if you can find any other settings files, and if they are found, check their culture settings.
Another trick I did was stop merging in the settings files at the root of the solution. This can be done by adding the following setting:
<GlobalSettings> <StringProperty Name="MergeSettingsFiles">NoMerge</StringProperty> </GlobalSettings>
This ensures that StyleCop will act the same on all development and assembly machines, regardless of the settings configured above the hierarchy (for example, the one located in the StyleCop application folder). However, if you do this, be sure to copy all the necessary settings from files that are no longer combined. From your description, I doubt that this will solve this particular problem, but I found it useful to help maintain consistency of rules.
source share