1
0
mirror of synced 2025-12-22 03:16:52 -05:00

trailingCommas:all on prettier (#38888)

This commit is contained in:
Peter Bengtsson
2023-07-11 07:44:52 -04:00
committed by GitHub
parent 3e6c8c2900
commit 2ec905fc77
290 changed files with 908 additions and 898 deletions

View File

@@ -81,7 +81,7 @@ async function main(opts, args) {
...(await getPathsWithMatchingStrings(searchStrings, 'github', 'github', {
cache: CACHE_SEARCHES,
forceDownload: FORCE_DOWNLOAD,
}))
})),
)
await fs.writeFile('/tmp/foundFiles.json', JSON.stringify(foundFiles, undefined, 2), 'utf-8')
}
@@ -92,7 +92,7 @@ async function main(opts, args) {
!file.includes('test/') &&
!file.includes('app/views/') &&
!file.includes('config.') &&
!file.includes('app/api/description/')
!file.includes('app/api/description/'),
)
const docsLinksFiles = []
@@ -155,8 +155,8 @@ async function main(opts, args) {
regexIndexOf(
contents,
/\n|"\)|{@email_tracking_params}|\^http|Ahttps|example|This|TODO"|[{}|"%><.,')* ]/,
startSearchIndex + 1
)
startSearchIndex + 1,
),
)
.trim()
@@ -174,7 +174,7 @@ async function main(opts, args) {
await fs.writeFile(
'/tmp/docsLinksFiles.json',
JSON.stringify(docsLinksFiles, undefined, 2),
'utf-8'
'utf-8',
)
}
const brokenLinks = []
@@ -200,7 +200,7 @@ async function main(opts, args) {
throw error
}
}
})
}),
)
}