We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16e61a3 commit 257495aCopy full SHA for 257495a
prettier.config.js
@@ -1,5 +1,5 @@
1
+// Modified from https://github.com/matzkoh/prettier-plugin-packagejson to use the custom sort-package.json package
2
function prettier_plugin_packagejson() {
- // Modified from https://github.com/matzkoh/prettier-plugin-packagejson to use the custom sort-package.json package
3
function requireSafe(path) {
4
try {
5
return require(path)
@@ -30,7 +30,7 @@ function prettier_plugin_packagejson() {
30
}
31
32
module.exports = {
33
- plugins: ["prettier-plugin-jsdoc", prettier_plugin_packagejson()],
+ plugins: [require("prettier-plugin-jsdoc"), prettier_plugin_packagejson()],
34
tabWidth: 2,
35
printWidth: 120,
36
semi: false,
0 commit comments