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

chore(root): add eslint rule to restrict sinon usage #5495

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kev-daniell
Copy link

Ticket: DX-1013

TICKET: DX-1013

@kev-daniell kev-daniell requested review from a team as code owners February 6, 2025 19:52
Copy link
Contributor

@zahin-mohammad zahin-mohammad left a comment

Choose a reason for hiding this comment

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

What's the alternative if we are moving away from sinon?

Let's take this chat offline with the rest of the wallets team

zahin-mohammad
zahin-mohammad previously approved these changes Feb 10, 2025
.eslintrc.json Outdated
"error",
{
"name": "require",
"message": "Requiring sinon is not allowed. Use other mocking libraries.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"message": "Requiring sinon is not allowed. Use other mocking libraries.",
"message": "Requiring sinon is not allowed. Use other mocking libraries, such as x,y or z.",

Please give an exmaple of the alternatives in the message itself.

@kev-daniell kev-daniell force-pushed the DX-1013-add-eslint-rules-to-restrict-sinon-additions branch from e3f8bee to 0759087 Compare February 10, 2025 18:12
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.

2 participants