Read more and code less
Here are the simple steps to enable /disable the Stylecop rules
=> close VisualStudio=> install the stylecop=> open the VisualStudio and select any project right click select stylecop rule editor
happy coding :)