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

Allowing to ignore mutation for specifc code with some pattern #4297

Open
rluvaton opened this issue Jun 14, 2023 · 4 comments
Open

Allowing to ignore mutation for specifc code with some pattern #4297

rluvaton opened this issue Jun 14, 2023 · 4 comments
Labels
🚀 Feature request New feature request ☠ stale Marked as stale by the stale bot, will be removed after a certain time.

Comments

@rluvaton
Copy link
Contributor

rluvaton commented Jun 14, 2023

Is your feature request related to a problem? Please describe.
Some of the time, we don't want to test our logs, and adding the ignore comment to each log is a logs.
or another case: we don't want to mutate the value of className in a react project as we don't test it

Describe the solution you'd like
I would like to have the option to add a plugin (like eslint) to disable mutation based on the AST

Describe alternatives you've considered
adding ignore comment to each log

Additional context
This exist-ish in the .NET version

@rluvaton rluvaton added the 🚀 Feature request New feature request label Jun 14, 2023
@nicojs
Copy link
Member

nicojs commented Jun 14, 2023

Would #3229 work for you?

@rluvaton
Copy link
Contributor Author

Yes, sorry for the duplicate

@nicojs
Copy link
Member

nicojs commented Jun 14, 2023

No problem. It's a great feature. We hopefully have some time to implement it in the near future

Copy link

stale bot commented Jan 31, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the ☠ stale Marked as stale by the stale bot, will be removed after a certain time. label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature request New feature request ☠ stale Marked as stale by the stale bot, will be removed after a certain time.
Projects
None yet
Development

No branches or pull requests

2 participants