Skip to content

Commit d5ffec8

Browse files
authored
Merge pull request #3423 from sharwell/update-schema
Add 'allowDoWhileOnClosingBrace' configuration to the JSON schema
2 parents 4dbf858 + 4b14a25 commit d5ffec8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@
197197
"type": "boolean",
198198
"description": "Specifies if SA1519 will allow consecutive using statements without braces",
199199
"default": true
200+
},
201+
"allowDoWhileOnClosingBrace": {
202+
"type": "boolean",
203+
"description": "Specifies if SA1500 will allow the 'while' expression of a 'do'/'while' loop to be on the same line as the closing brace.",
204+
"default": false
200205
}
201206
}
202207
},

0 commit comments

Comments
 (0)