Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit f88e981

Browse files
achingbrainalanshaw
andcommitted
fix: disable just the rule we're breaking
License: MIT Signed-off-by: Alan Shaw <[email protected]> Co-Authored-By: alanshaw <[email protected]>
1 parent 2080f31 commit f88e981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/api/resources/files-regular.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ exports.parseKey = (request, reply) => {
5151
}
5252

5353
try {
54-
new CID(key) // eslint-disable-line
54+
new CID(key) // eslint-disable-line no-new
5555
} catch (err) {
5656
log.error(err)
5757
return reply({

0 commit comments

Comments
 (0)