Skip to content

Commit 99571a0

Browse files
committed
[dev] fix formatting
1 parent 4bc70e4 commit 99571a0

File tree

3 files changed

+11
-24
lines changed

3 files changed

+11
-24
lines changed

package-lock.json

+7-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prettier-plugin-multiline-arrays",
3-
"version": "3.0.5",
3+
"version": "3.0.6",
44
"description": "Prettier plugin to force all arrays to be multiline.",
55
"keywords": [
66
"array",
@@ -74,7 +74,7 @@
7474
"ts-node": "^10.9.2",
7575
"type-fest": "^4.18.3",
7676
"typedoc": "^0.25.13",
77-
"typescript": "^5.4.5",
77+
"typescript": "^5.3.3",
7878
"virmator": "^11.5.2"
7979
},
8080
"peerDependencies": {

src/printer/insert-new-lines.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ function insertLinesIntoArray(
6363
parentDoc[childIndex + 2] = maybeBreak.breakContents;
6464
}
6565
const indentIndex = childIndex + 1;
66-
const bracketSibling = parentDoc[indentIndex] === '' ? parentDoc[indentIndex + 1] : parentDoc[indentIndex];
66+
const bracketSibling =
67+
parentDoc[indentIndex] === '' ? parentDoc[indentIndex + 1] : parentDoc[indentIndex];
6768
if (debug) {
6869
console.info({bracketSibling});
6970
}

0 commit comments

Comments
 (0)