Merge pull request #7986 from overleaf/jpa-eslint-8

[misc] upgrade eslint packages to the latest version everywhere

GitOrigin-RevId: f1480d4a171acef82fb26c4aa54be3a6088b0ab3
This commit is contained in:
Jakob Ackermann
2022-05-16 15:25:49 +01:00
committed by Copybot
parent 81b935e317
commit f0bd6dda23
145 changed files with 1023 additions and 1207 deletions
@@ -76,7 +76,7 @@ class AccessTokenEncryptor {
logger.err({ err }, 'error getting Fn key')
return callback(err)
}
// eslint-disable-next-line node/no-deprecated-api
// eslint-disable-next-line n/no-deprecated-api
const decipher = crypto.createDecipher(ALGORITHM, key)
const dec =
decipher.update(cipherText, 'base64', 'utf8') + decipher.final('utf8')
@@ -79,7 +79,7 @@ describe('GcsPersistorTests', function () {
Stream = {
pipeline: sinon.stub().yields(),
Transform: Transform,
Transform,
}
GcsFile = {
@@ -222,7 +222,7 @@ describe('GcsPersistorTests', function () {
})
it('stores the bucket and key in the error', function () {
expect(error.info).to.include({ bucketName: bucket, key: key })
expect(error.info).to.include({ bucketName: bucket, key })
})
})
@@ -252,7 +252,7 @@ describe('GcsPersistorTests', function () {
})
it('stores the bucket and key in the error', function () {
expect(error.info).to.include({ bucketName: bucket, key: key })
expect(error.info).to.include({ bucketName: bucket, key })
})
})
})
@@ -66,7 +66,7 @@ describe('S3PersistorTests', function () {
Stream = {
pipeline: sinon.stub().yields(),
Transform: Transform,
Transform,
}
EmptyPromise = {
@@ -306,7 +306,7 @@ describe('S3PersistorTests', function () {
})
it('stores the bucket and key in the error', function () {
expect(error.info).to.include({ bucketName: bucket, key: key })
expect(error.info).to.include({ bucketName: bucket, key })
})
})
@@ -336,7 +336,7 @@ describe('S3PersistorTests', function () {
})
it('stores the bucket and key in the error', function () {
expect(error.info).to.include({ bucketName: bucket, key: key })
expect(error.info).to.include({ bucketName: bucket, key })
})
})
@@ -366,7 +366,7 @@ describe('S3PersistorTests', function () {
})
it('stores the bucket and key in the error', function () {
expect(error.info).to.include({ bucketName: bucket, key: key })
expect(error.info).to.include({ bucketName: bucket, key })
})
})
})
@@ -52,7 +52,7 @@ describe('index', function () {
ioredis: this.ioredis,
},
globals: {
process: process,
process,
},
})
return (this.auth_pass = '1234 pass')