fix(format): fix string width config (#12133)

This commit is contained in:
mobyw
2023-03-17 18:54:48 +05:00
committed by GitHub
parent 7c8422f84e
commit 2fe323c966
+1 -3
View File
@@ -22,9 +22,7 @@ module.exports = {
})
.use(prettier)
.use(gfm, {
options: {
stringLength: width,
},
stringLength: width,
})
.process(doc);
return typeof result === 'string' ? result : typeof result.contents === 'string' ? result.contents : result.result;