Skip to content

Commit 95724c3

Browse files
committed
fix: use prettierRcOptions directly for prettier 3.6+
1 parent 9c4b792 commit 95724c3

4 files changed

Lines changed: 23 additions & 52 deletions

File tree

.prettierrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"singleQuote": true,
44
"plugins": [
55
"@prettier/plugin-pug",
6-
"prettier-plugin-jsdoc",
76
"prettier-plugin-pkg",
87
"prettier-plugin-svelte"
98
],

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
"lint-staged": "^16.0.0",
9494
"mocha": "^11.1.0",
9595
"prettier": "^3.5.3",
96-
"prettier-plugin-jsdoc": "^1.3.2",
9796
"prettier-plugin-pkg": "^0.21.0",
9897
"prettier-plugin-svelte": "^3.3.3",
9998
"simple-git-hooks": "^2.12.1",
@@ -105,7 +104,7 @@
105104
106105
},
107106
"overrides": {
108-
"prettier": "^3.5.3"
107+
"prettier": "^3.6.1"
109108
}
110109
}
111110
}

pnpm-lock.yaml

Lines changed: 21 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

worker.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ runAsWorker(
4545
resolveConfig: false,
4646
withNodeModules: false,
4747
ignorePath: '.prettierignore',
48-
plugins: /** @type {string[] | undefined} */ (
49-
prettierRcOptions ? prettierRcOptions.plugins : undefined
50-
),
48+
...prettierRcOptions,
5149
...eslintFileInfoOptions,
5250
},
5351
);

0 commit comments

Comments
 (0)