-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add file header decoration comments if configured #2087
Conversation
Current coverage is
|
Added a test now. Anything else I have to do? |
As the settings file format is updated, the following files should be updated as well:
|
The code looks good to me. |
When running the fix for SA1638, the header decoration is duplicated
I discovered a bug that the fix for SA1638 creates duplicate decorations. I fixed it with the last commit. Is there anything else to do? |
@@ -194,6 +194,11 @@ | |||
"description": "Determines whether the file header should be wrapped in the StyleCop-standard XML structure.", | |||
"default": true | |||
}, | |||
"headerDecoration": { | |||
"type": "boolean", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im not familiar with json schemas, but shouldn't this be string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are totally right, probably copy+paste :-)
Other then the minor comment this looks good to me. @sharwell should be back next week to merge this if he does not have other comments on this.. |
add file header decoration comments if configured
Fixes #2086
I have written no test yet, I first want to know if you accept this.