Merge pull request #28199 from overleaf/td-ar-script-runner-lint

Add ESLint rule to require Script Runner for scripts in web

GitOrigin-RevId: 94d5dac806e4c5480b7ed95cf8484a2d13ac8294
This commit is contained in:
Tim Down
2025-09-05 08:05:25 +00:00
committed by Copybot
parent 3b67025398
commit 5375d3967b
3 changed files with 113 additions and 3 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ function parseArgs() {
}
function usage() {
console.log(`Usage: find_dangling_comments.mjs [OPTS]
console.log(`Usage: check_docs.mjs [OPTS]
Options:
@@ -205,7 +205,7 @@ async function findDanglingThreadIds(projectId, docs) {
return []
}
const rooms = await db.rooms.find(
const rooms = db.rooms.find(
{ project_id: new ObjectId(projectId), thread_id: { $exists: true } },
{ readPreference: READ_PREFERENCE_SECONDARY }
)