Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{ "rules":
{"func-names": "off"
}
, "parserOptions":
{ "ecmaVersion": 6
}
}

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
.nyc_output
13 changes: 0 additions & 13 deletions .jshintrc

This file was deleted.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var MongoClient = require('mongodb').MongoClient;

module.exports = function (uri, opts) {
module.exports = (uri, opts) => {
if (typeof uri !== 'string') {
throw new TypeError('Expected uri to be a string');
}
Expand Down
Loading