chore: forbid one-line and braceless cycles in dprint config
This commit is contained in:
+6
-1
@@ -33,10 +33,15 @@
|
|||||||
"exportDeclaration.forceMultiLine": "whenMultiple",
|
"exportDeclaration.forceMultiLine": "whenMultiple",
|
||||||
"exportDeclaration.forceSingleLine": false,
|
"exportDeclaration.forceSingleLine": false,
|
||||||
"ifStatement.useBraces": "always",
|
"ifStatement.useBraces": "always",
|
||||||
|
"ifStatement.singleBodyPosition": "nextLine",
|
||||||
"whileStatement.useBraces": "always",
|
"whileStatement.useBraces": "always",
|
||||||
|
"whileStatement.singleBodyPosition": "nextLine",
|
||||||
"forStatement.useBraces": "always",
|
"forStatement.useBraces": "always",
|
||||||
|
"forStatement.singleBodyPosition": "nextLine",
|
||||||
"forInStatement.useBraces": "always",
|
"forInStatement.useBraces": "always",
|
||||||
"forOfStatement.useBraces": "always"
|
"forInStatement.singleBodyPosition": "nextLine",
|
||||||
|
"forOfStatement.useBraces": "always",
|
||||||
|
"forOfStatement.singleBodyPosition": "nextLine"
|
||||||
},
|
},
|
||||||
"json": {
|
"json": {
|
||||||
"indentWidth": 2,
|
"indentWidth": 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user