Skip to content

Commit f91dbef

Browse files
committed
Opinionated change to lineWidth/operatorPosition
1 parent 203ac28 commit f91dbef

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dprint.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"indentWidth": 4,
3-
"lineWidth": 1000, // TODO: This should be a lot smaller. Hopefully 120.
3+
"lineWidth": 120,
44
"newLineKind": "auto",
55
"useTabs": false,
66
"typescript": {
@@ -19,9 +19,7 @@
1919
// TODO: If we lower "lineWidth", does this matter? With the current width, this doesn't do anything.
2020
"preferHanging": false,
2121

22-
// TODO: This is currently "maintain", but my (Jake's) preference would be "nextLine".
23-
// The current state seems to be a mismash of some "nextLine" but mostly "sameLine". Unfortunate.
24-
"operatorPosition": "maintain",
22+
"operatorPosition": "nextLine",
2523

2624
// Don't reorder imports/exports; this can change runtime behavior, which matters
2725
// once TS is modules.

0 commit comments

Comments
 (0)