Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit bed2687

Browse files
author
Alan Shaw
committed
fix: disable just the rule we're breaking
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
1 parent 45b344c commit bed2687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/clean-cid.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ module.exports = function (cid) {
1212
if (typeof cid !== 'string') {
1313
throw new Error('unexpected cid type: ' + typeof cid)
1414
}
15-
new CID(cid.split('/')[0]) // eslint-disable-line
15+
new CID(cid.split('/')[0]) // eslint-disable-line no-new
1616
return cid
1717
}

0 commit comments

Comments
 (0)