Skip to content

Commit 4b14a25

Browse files
committed
Add 'allowDoWhileOnClosingBrace' configuration to the JSON schema
Closes #3422
1 parent 4dbf858 commit 4b14a25

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)