Skip to content
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

Enable type information for jest/unbound-method #844

Merged
merged 3 commits into from
Apr 3, 2023

Conversation

connor-baer
Copy link
Member

Purpose

Error while loading rule 'jest/unbound-method': You have used a rule which requires parserServices to be generated. You must therefore provide a value for the "parserOptions.project" property for @typescript-eslint/parser.

In order to use the rules powered by TypeScript type-checking, you must be using @typescript-eslint/parser & adjust your eslint config as outlined here.

Approach and changes

  • Enabled type checking for unit test files to provide required type information to the jest/unbound-method rule.

Definition of done

  • Development completed
  • Reviewers assigned
  • Unit and integration tests

@connor-baer connor-baer requested a review from a team as a code owner April 3, 2023 11:51
@connor-baer connor-baer requested review from robinmetral and removed request for a team April 3, 2023 11:51
@changeset-bot
Copy link

changeset-bot bot commented Apr 3, 2023

🦋 Changeset detected

Latest commit: f6c13be

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sumup/foundry Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@connor-baer connor-baer added the bug label Apr 3, 2023
@connor-baer connor-baer merged commit bcee0a8 into next Apr 3, 2023
@connor-baer connor-baer deleted the bugfix/jest/unbound-method branch April 3, 2023 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant