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

Commit d4d30fa

Browse files
author
Alan Shaw
committed
fix: disable just the rule we're breaking
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 70714ca commit d4d30fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/clean-cid.js

Lines changed: 1 addition & 1 deletion
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)