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

This commit is contained in:
mobyw 2023-03-17 21:54:48 +08:00 committed by GitHub
parent 7c8422f84e
commit 2fe323c966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

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;