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

fix(eslint-plugin-mobx)!: invert exhausive-make-observable autofix #3877

Conversation

kade-robertson
Copy link
Contributor

@kade-robertson kade-robertson commented May 17, 2024

To avoid changing behaviour of existing logic, the autofix for this rule should specify a false annotation to avoid changing code behaviour.

Code change checklist

  • Added/updated unit tests -- There were none before and this change is pretty minor.
  • Updated /docs. For new functionality, at least API.md should be updated (Just updated the README.md in this case)
  • Verified that there is no significant performance drop (yarn mobx test:performance) -- I don't believe this is relevant for this change

To avoid changing behaviour of existing logic, the autofix for this rule should specify a `false` annotation to avoid changing code behaviour.
Copy link

changeset-bot bot commented May 17, 2024

🦋 Changeset detected

Latest commit: 7341f71

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

This PR includes changesets to release 1 package
Name Type
eslint-plugin-mobx Minor

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

@urugator
Copy link
Collaborator

urugator commented May 18, 2024

Hi, please see
#3876 (comment)
Feel free to improve wording of error message.

@kade-robertson kade-robertson deleted the invert-exhaustive-make-observable-autofix branch May 19, 2024 14:37
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.

None yet

2 participants