Skip to content

Conversation

@sjarva
Copy link
Collaborator

@sjarva sjarva commented Oct 23, 2022

These examples were gotten from discussions in issue #386

Checks

  • I have read the contributing guidelines.
  • If some rule is added/updated/removed, I've regenerated the rules list (npm run generate:rules-list)
  • If some rule meta info is changed, I've regenerated the plugin shared configs (npm run generate:configs)

Changes

  • add a valid test case to no-node-access

Context

Not closing an existing issue, just adding one test that should have been added in #658. I commented in that PR that it wouldn't be fixing an error from a code like this (component with destructured props), but turns out, that this code hasn't produced an error, it is totally valid from this rule's perspective.

@sjarva sjarva marked this pull request as ready for review October 23, 2022 15:00
@sjarva sjarva requested a review from Belco90 October 23, 2022 15:00
Copy link
Member

@Belco90 Belco90 left a comment

Choose a reason for hiding this comment

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

Thanks for this extra valid test 🙏

@Belco90 Belco90 changed the title fix(no-node-access): Document more valid test cases test(no-node-access): add more valid test cases Oct 23, 2022
@Belco90 Belco90 merged commit 79d8967 into main Oct 23, 2022
@Belco90 Belco90 deleted the pr/add-more-valid-tests-to-no-node-access branch October 23, 2022 16:05
@github-actions
Copy link

🎉 This PR is included in version 6.0.0-alpha.14 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 5.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants