From 2caea73f4ce43dcbd81affcd0ac1207369e3fefe Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Mon, 2 Dec 2019 12:19:20 +0000 Subject: [PATCH] chore: remove lint nested callbacks overrides --- src/bitswap/wantlist.js | 1 - src/files-regular/ls.js | 1 - src/key/list.js | 1 - src/key/rename.js | 1 - src/key/rm.js | 1 - src/miscellaneous/resolve.js | 1 - src/name-pubsub/cancel.js | 1 - src/name-pubsub/subs.js | 1 - src/name/resolve.js | 1 - src/object/data.js | 1 - src/object/links.js | 1 - src/object/patch/append-data.js | 1 - src/object/patch/set-data.js | 1 - src/object/stat.js | 1 - src/pubsub/subscribe.js | 1 - 15 files changed, 15 deletions(-) diff --git a/src/bitswap/wantlist.js b/src/bitswap/wantlist.js index 34480a900..276a51442 100644 --- a/src/bitswap/wantlist.js +++ b/src/bitswap/wantlist.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint max-nested-callbacks: ["error", 6] */ 'use strict' const { getDescribe, getIt, expect } = require('../utils/mocha') diff --git a/src/files-regular/ls.js b/src/files-regular/ls.js index 3dc3b73e0..95165e951 100644 --- a/src/files-regular/ls.js +++ b/src/files-regular/ls.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint max-nested-callbacks: ["error", 6] */ 'use strict' const { fixtures } = require('./utils') diff --git a/src/key/list.js b/src/key/list.js index 383989435..adbeb8519 100644 --- a/src/key/list.js +++ b/src/key/list.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint max-nested-callbacks: ["error", 6] */ 'use strict' const pTimes = require('p-times') diff --git a/src/key/rename.js b/src/key/rename.js index a18796059..a79051543 100644 --- a/src/key/rename.js +++ b/src/key/rename.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint max-nested-callbacks: ["error", 6] */ 'use strict' const hat = require('hat') diff --git a/src/key/rm.js b/src/key/rm.js index 5140ed901..4450833f0 100644 --- a/src/key/rm.js +++ b/src/key/rm.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint max-nested-callbacks: ["error", 6] */ 'use strict' const hat = require('hat') diff --git a/src/miscellaneous/resolve.js b/src/miscellaneous/resolve.js index 699c122b8..8ffedcd55 100644 --- a/src/miscellaneous/resolve.js +++ b/src/miscellaneous/resolve.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint max-nested-callbacks: ["error", 5] */ 'use strict' const isIpfs = require('is-ipfs') diff --git a/src/name-pubsub/cancel.js b/src/name-pubsub/cancel.js index cf2a30d0e..e50695a04 100644 --- a/src/name-pubsub/cancel.js +++ b/src/name-pubsub/cancel.js @@ -1,4 +1,3 @@ -/* eslint max-nested-callbacks: ["error", 5] */ /* eslint-env mocha */ 'use strict' diff --git a/src/name-pubsub/subs.js b/src/name-pubsub/subs.js index 388d650dd..8e3458ac6 100644 --- a/src/name-pubsub/subs.js +++ b/src/name-pubsub/subs.js @@ -1,4 +1,3 @@ -/* eslint max-nested-callbacks: ["error", 5] */ /* eslint-env mocha */ 'use strict' diff --git a/src/name/resolve.js b/src/name/resolve.js index 1f72a0c05..99bcecc1e 100644 --- a/src/name/resolve.js +++ b/src/name/resolve.js @@ -1,4 +1,3 @@ -/* eslint max-nested-callbacks: ["error", 6] */ /* eslint-env mocha */ 'use strict' diff --git a/src/object/data.js b/src/object/data.js index 1c31b1736..ed1a281df 100644 --- a/src/object/data.js +++ b/src/object/data.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint-disable max-nested-callbacks */ 'use strict' const bs58 = require('bs58') diff --git a/src/object/links.js b/src/object/links.js index 10400d911..b62195a49 100644 --- a/src/object/links.js +++ b/src/object/links.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint-disable max-nested-callbacks */ 'use strict' const dagPB = require('ipld-dag-pb') diff --git a/src/object/patch/append-data.js b/src/object/patch/append-data.js index 3a35a958e..7be202f4e 100644 --- a/src/object/patch/append-data.js +++ b/src/object/patch/append-data.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint-disable max-nested-callbacks */ 'use strict' const { getDescribe, getIt, expect } = require('../../utils/mocha') diff --git a/src/object/patch/set-data.js b/src/object/patch/set-data.js index b65afab97..4aafc36a4 100644 --- a/src/object/patch/set-data.js +++ b/src/object/patch/set-data.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint-disable max-nested-callbacks */ 'use strict' const { getDescribe, getIt, expect } = require('../../utils/mocha') diff --git a/src/object/stat.js b/src/object/stat.js index edac169c7..0313d4673 100644 --- a/src/object/stat.js +++ b/src/object/stat.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint-disable max-nested-callbacks */ 'use strict' const dagPB = require('ipld-dag-pb') diff --git a/src/pubsub/subscribe.js b/src/pubsub/subscribe.js index be5093fc0..69b786717 100644 --- a/src/pubsub/subscribe.js +++ b/src/pubsub/subscribe.js @@ -1,5 +1,4 @@ /* eslint-env mocha */ -/* eslint max-nested-callbacks: ["error", 6] */ 'use strict' const pushable = require('it-pushable')