Skip to content

Conversation

@vidorteg
Copy link
Contributor

@vidorteg vidorteg commented Oct 8, 2025

This PR Updates most of the dependencies, as a result some code had also been updated, here is a list of the highlights:

  • .eslintrc.js: The new eslint version requires the use of a flat file for configuration, so I moved the previous format to the new one.
  • replaced toBeCalled with toHaveBeenCalledWith as former has been deprecated
  • replaced toBeCalledWith with toHaveBeenCalledWith as former has been deprecated
  • Updating module and target on tsconfig to ES2020 ES2022
  • Removed .eslintignore as usage in a single file is disallowed by new version of eslint, instead added ignorePattern in new config file
  • Various fixes to get clean eslint run.
  • Updates node minimal version to 22.
  • Restrict some permissions on the runners

Copilot AI review requested due to automatic review settings October 8, 2025 18:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates dependencies to their latest versions and adapts code to work with the new ESLint flat configuration format, along with Jest API deprecation fixes and ESLint compatibility updates.

  • Migrated from legacy .eslintrc.js to modern flat config format with ES modules
  • Updated deprecated Jest matchers from toBeCalled/toBeCalledWith to toHaveBeenCalled/toHaveBeenCalledWith
  • Applied various code fixes to maintain ESLint compliance with updated rules

Reviewed Changes

Copilot reviewed 17 out of 19 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
package.json Updates all dependencies to latest versions
.eslintrc.js Migrates from legacy config format to flat config with ES modules
.eslintignore Removed in favor of ignores array in flat config
test/*.test.ts Updates deprecated Jest matchers to current API
src/*.ts Adds eslint-disable linebreak-style comments and minor code improvements

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@vidorteg vidorteg merged commit b9a0a99 into main Oct 13, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants