Merge pull request #5367 from overleaf/jpa-node-handle-callback-err

[misc] fix eslint violations for node/handle-callback-err

GitOrigin-RevId: 83a4900e8861010df1917bff49382bd9c93375bd
This commit is contained in:
Jakob Ackermann
2021-10-28 08:03:26 +00:00
committed by Copybot
parent 12b90cac69
commit 7f9fd00bda
181 changed files with 746 additions and 658 deletions
@@ -1,5 +1,4 @@
/* eslint-disable
handle-callback-err,
no-return-assign,
no-unused-vars,
*/
@@ -29,6 +28,7 @@ describe('DiffCodec', function () {
this.before,
this.after,
(error, ops) => {
if (error) return done(error)
expect(ops).to.deep.equal([
{
i: 'beautiful ',
@@ -47,6 +47,7 @@ describe('DiffCodec', function () {
this.before,
this.after,
(error, ops) => {
if (error) return done(error)
expect(ops).to.deep.equal([
{ i: 'tall ', p: 4 },
{ i: 'red ', p: 29 },
@@ -63,6 +64,7 @@ describe('DiffCodec', function () {
this.before,
this.after,
(error, ops) => {
if (error) return done(error)
expect(ops).to.deep.equal([
{
d: 'beautiful ',
@@ -81,6 +83,7 @@ describe('DiffCodec', function () {
this.before,
this.after,
(error, ops) => {
if (error) return done(error)
expect(ops).to.deep.equal([
{ d: 'tall ', p: 4 },
{ d: 'red ', p: 24 },