Skip to content

Commit a56b24c

Browse files
authoredFeb 21, 2023
chore: typescript, update deps, node versions in github actions (#183)
- Updates the configuration to allow typescript. - Updates all of the javascript files to typescript. - Removes the callback usage of the package. Now only the promise usage and the command line is available. (Major change). - Updates many of the dependencies (and removes a few including debug, event-stream, and async).
1 parent 8f8aaa1 commit a56b24c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+13254
-4497
lines changed
 

‎.depcheckrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ignores:
2+
- 'yargs'
3+
- 'progress'

‎.eslintrc

+10-20
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
{
2-
"parserOptions": {
3-
"ecmaVersion": 2019
4-
},
5-
"env": {
6-
"mocha": true,
7-
"node": true,
8-
"es6": true
9-
},
10-
"globals": {
11-
"expect": true,
12-
"sinon": true
13-
},
14-
"rules": {
15-
"camelcase": 1,
16-
"new-cap": 0,
17-
"no-use-before-define": 0
18-
},
192
"extends": [
20-
"mongodb-js/node",
21-
"mongodb-js/browser"
22-
]
3+
"semistandard",
4+
"plugin:promise/recommended",
5+
"plugin:@typescript-eslint/recommended"
6+
],
7+
"rules": {
8+
"@typescript-eslint/no-explicit-any": 0,
9+
"@typescript-eslint/no-empty-function": 0,
10+
"no-return-assign": 0,
11+
"space-before-function-paren": ["error", "never"]
12+
}
2313
}

0 commit comments

Comments
 (0)
Please sign in to comment.