Plugin fighting itself and violating StyleCop rule SA1507
description
Hi.
The StyleCop friendly "Code Cleanup" settings are from 2008 and mere screenshots, without any explanation.
Using my current settings, "Code Cleanup" leads to files starting like this:
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConfigurationFactory.cs" company="MyCorp">
// Copyright (c) MyCorp.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using ....;
Note, that two empty lines are between the using statement and the header. Those are autogenerated every time and clash with StyleCop rule SA1507. I'd like to stick to that rule and keep it, but I need to be able to issue a "Cleanup Code".
Playing with the settings for the header (leave it, only add it if it is missing, replace everytime) doesn't help, the result is the same: The file ends up with two blank lines and StyleCop complains.