mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #18289 from overleaf/ac-ar-eslint-return-await
Add ESLint rule @typescript-eslint/return-await to backend services GitOrigin-RevId: 75e3e32597827fcc852e69d479515fc72e8f45e4
This commit is contained in:
@@ -2,7 +2,7 @@ const ProjectFlusher = require('../app/js/ProjectFlusher')
|
||||
|
||||
async function main() {
|
||||
console.log('Flushing all projects')
|
||||
return new Promise((resolve, reject) => {
|
||||
return await new Promise((resolve, reject) => {
|
||||
const options = {
|
||||
limit: 100000,
|
||||
concurrency: 5,
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
"extends": "../../tsconfig.backend.json",
|
||||
"include": [
|
||||
"app.js",
|
||||
"app/src/**/*",
|
||||
"expire_docops.js",
|
||||
"app/js/**/*",
|
||||
"benchmarks/**/*",
|
||||
"config/**/*",
|
||||
"scripts/**/*",
|
||||
"test/**/*"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user