Skip to content

Commit 7071bb0

Browse files
authored
Update stylecop.json schema to have correct default for headerDecoration.
The default is documented to be the empty string, and since it's typed as `string`, `null` is not actually a valid value and will fail to validate.
1 parent 17b613d commit 7071bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
"headerDecoration": {
264264
"type": "string",
265265
"description": "The text used as decoration for the copyright header comment.",
266-
"default": null
266+
"default": ""
267267
},
268268
"fileNamingConvention": {
269269
"type": "string",

0 commit comments

Comments
 (0)