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

feat(lint/noConfusingVoidType): add no-confusing-void-type #184

Merged
merged 7 commits into from
Sep 8, 2023

Conversation

shulandmimi
Copy link
Contributor

Summary

close #45

This rule implements some part of no-invalid-void-type

Test Plan

Tests included.

@github-actions github-actions bot added A-Core Area: core A-Project Area: project A-Linter Area: linter A-Website Area: website L-JavaScript Language: JavaScript and super languages A-Diagnostic Area: diagnostocis labels Sep 7, 2023
@shulandmimi shulandmimi changed the title feat: add no-confusing-void-type feat(lint/noConfusingVoidType): add no-confusing-void-type Sep 7, 2023
Copy link
Member

@Conaclos Conaclos 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 your contribution! :)

I just have two main concerns:

  • New rule should be part of the nursery group (see the CONTRIBUTING guide for more details).
  • I suggest also removing the options because Biome tries to minimize them. Because these patterns are widely sued we should assume that these options are always set to true.

@shulandmimi shulandmimi force-pushed the feat/noConfusingVoidType branch from f7db11e to 4b972b0 Compare September 8, 2023 14:23
@shulandmimi shulandmimi requested a review from Conaclos September 8, 2023 14:24
@github-actions github-actions bot removed the A-Core Area: core label Sep 8, 2023
@shulandmimi shulandmimi force-pushed the feat/noConfusingVoidType branch from 997230e to 60b6e96 Compare September 8, 2023 15:28
@shulandmimi shulandmimi requested a review from Conaclos September 8, 2023 15:29
@Conaclos Conaclos merged commit 92be3f8 into biomejs:main Sep 8, 2023
@shulandmimi
Copy link
Contributor Author

@Conaclos Thank you for reviewing and helping me

@Conaclos
Copy link
Member

Conaclos commented Sep 8, 2023

This is a great contribution!

@Conaclos Conaclos added S-Needs-changelog-update When a PR needs a follow up PR to udpate the changelog and removed S-Needs-changelog-update When a PR needs a follow up PR to udpate the changelog labels Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Diagnostic Area: diagnostocis A-Linter Area: linter A-Project Area: project A-Website Area: website L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

📎 Implement lint/noConfusingVoidType - typescript-eslint/no-invalid-void-type
2 participants