Skip to content

Conversation

@matejminar
Copy link
Member

@matejminar matejminar commented Oct 29, 2021

This includes the addition of eslint-plugin-testing-library (getsentry/eslint-config-sentry#115).

Comment on lines 3 to 6
rules: {
'testing-library/render-result-naming-convention': 'off',
'testing-library/prefer-screen-queries': 'off',
},
Copy link
Member

Choose a reason for hiding this comment

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

Should these be in eslint-config-sentry?

Copy link
Member Author

Choose a reason for hiding this comment

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

Unfortunately, they get overridden by this extend if they are there.

We'll be able to get rid of testing-library/prefer-screen-queries line soon, just one more big file to go.

Once we get the extends in overrides feature with the upgraded eslint, we'll be able to delete this whole file.

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually, I can put them there 👍 Just had the wrong order when I was testing it previously.

@matejminar matejminar changed the title chore(deps): Upgrade eslint-config-sentry@1.65.0 chore(deps): Upgrade eslint-config-sentry@1.67.0 Nov 4, 2021
@matejminar matejminar marked this pull request as ready for review November 4, 2021 16:58
@matejminar matejminar requested a review from a team as a code owner November 4, 2021 16:58
);

screen.findByText('mock_AwsLambdaProjectSelect');
await screen.findByText('mock_AwsLambdaProjectSelect');
Copy link
Member

Choose a reason for hiding this comment

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

Should it be getByText if this didn't need to resolve before?

Copy link
Member Author

Choose a reason for hiding this comment

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

@evanpurkhiser followed up here: #29790

@matejminar matejminar merged commit e835f6b into master Nov 4, 2021
@matejminar matejminar deleted the chore/deps/upgrade-eslint-sentry-testing-library branch November 4, 2021 17:28
@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants