Skip to content

Commit 3828035

Browse files
chore(NODE-6270): update dev dependencies and add dependabot config (#41)
1 parent 20cd0ef commit 3828035

File tree

5 files changed

+1182
-1052
lines changed

5 files changed

+1182
-1052
lines changed

.eslintrc.json

+15-2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,19 @@
6767
"selector": "BinaryExpression[operator=/[=!]==?/] Literal[value='undefined']",
6868
"message": "Do not strictly check typeof undefined (NOTE: currently this rule only detects the usage of 'undefined' string literal so this could be a misfire)"
6969
}
70-
]
71-
}
70+
],
71+
"@typescript-eslint/no-require-imports": "off"
72+
},
73+
"overrides": [
74+
{
75+
"files": [
76+
"test/**/*ts"
77+
],
78+
"rules": {
79+
// chat `expect(..)` style chaining is considered
80+
// an unused expression
81+
"@typescript-eslint/no-unused-expressions": "off"
82+
}
83+
}
84+
]
7285
}

.github/dependabot.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "monthly"
12+
ignore:
13+
# chai is esmodule only.
14+
- dependency-name: "chai"
15+
versions: [">=5.0.0"]
16+
# sinon-chai 4.x+ supports chai 5.x+.
17+
- dependency-name: "sinon-chai"
18+
versions: [">=4.0.0"]
19+
# nyc is Node18+ only starting on nyc@16.x.
20+
- dependency-name: "nyc"
21+
versions: [">=16.0.0"]
22+
# we ignore TS as a part of quarterly dependency updates.
23+
- dependency-name: "typescript"
24+
# node-gyp now depends on python 3.10, we install 3.6 in our dockerfile
25+
- dependency-name: "node-gyp"
26+
- dependency-name: "prebuild"
27+
28+
groups:
29+
development-dependencies:
30+
dependency-type: "development"
31+
applies-to: version-updates
32+
update-types:
33+
- "minor"
34+
- "patch"

0 commit comments

Comments
 (0)