From d2a52fe1293ef8fc8ba8909776aa9c1f19c7d59d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E6=98=9F=E7=B9=81?= Date: Wed, 12 Jul 2023 11:58:13 +0800 Subject: [PATCH] feat: disable SA1500 for do-while loop --- src/stylecop.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stylecop.json b/src/stylecop.json index d3bc55a..00ac0b1 100644 --- a/src/stylecop.json +++ b/src/stylecop.json @@ -36,7 +36,8 @@ }, "layoutRules": { "newlineAtEndOfFile": "allow", - "allowConsecutiveUsings": false + "allowConsecutiveUsings": false, + "allowDoWhileOnClosingBrace": true }, "documentationRules": { "documentInterfaces": true,