-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DD-272 Updating dependencies #52
Conversation
78ff57f
to
b12b515
Compare
b12b515
to
dc34daa
Compare
eslint.config.js
Outdated
{ | ||
languageOptions: { | ||
globals: { | ||
module: 'readonly', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use the package globals
as a devDependency
to set up the Node globals same as what our internal ESLint config does instead of needing to define any individually
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hasn't been resolved
eslint.config.js
Outdated
}, | ||
parserOptions: { | ||
ecmaVersion: 2021, | ||
sourceType: 'module', // This can stay as 'module' if you're using ES modules within CommonJS context. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're still using CJS so don't want this yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hasn't been resolved
eslint.config.js
Outdated
}; | ||
|
||
// Define the ESLint configuration | ||
module.exports = defineConfig([ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should base this on ESLint's recommended rules as it was before, see our internal ESLint config for how to do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hasn't been resolved
Drop Node 14, 16 and 18 and allowing only 20.x || 22.x and updating the following dependencies: debug ^4.3.4 -> ^4.3.7 glob ^10.4.5 -> ^11.0.0 eslint ^8.57.0 -> ^9.11.1 Adding eslint-define-config and replacing .eslintrc with eslint.config.js Adding Husky ^9.1.6 and mpo-node-standards ^2.0.0 then adding ./husky/pre-push nyc ^17.0.0 -> ^17.1.0 sinon ^18.0.0 -> ^19.0.2 globals ^15.9.0
dc34daa
to
556a9d1
Compare
Can we update the branch name so it's not specific to Node 22 as we support 20 as well? |
Drop Node 14, 16 and 18 and allowing only 20.x || 22.x and updating the following dependencies:
debug ^4.3.4 -> ^4.3.7
glob ^10.4.5 -> ^11.0.0
eslint ^8.57.0 -> ^9.11.1
Adding eslint-define-config and replacing .eslintrc with eslint.config.js
Adding Husky ^9.1.6 and mpo-node-standards ^2.0.0 then adding ./husky/pre-push
nyc ^17.0.0 -> ^17.1.0
sinon ^18.0.0 -> ^19.0.2
globals ^15.9.0
mocha ^10.7.0 -> ^10.7.3