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

refactor(lint/noEmptyInterface): ignore empty interface that extends a type #1289

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

Conaclos
Copy link
Member

Summary

Close #1157

I was on the fence on this and I agree with the last comment left in the issue. We should not report empty interfaces that extend a type. Let's diverge from ESLint.

Test Plan

Updated tests.

Copy link

netlify bot commented Dec 21, 2023

Deploy Preview for biomejs ready!

Name Link
🔨 Latest commit b68c7e6
🔍 Latest deploy log https://app.netlify.com/sites/biomejs/deploys/65856ad9b418e40008355e9d
😎 Deploy Preview https://deploy-preview-1289--biomejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 93 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added A-Project Area: project A-Linter Area: linter A-Website Area: website L-JavaScript Language: JavaScript and super languages A-Changelog Area: changelog labels Dec 21, 2023
Copy link
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

I left a suggestion

@Conaclos Conaclos force-pushed the conaclos/lint/noEMptyInterfaceExtends branch from 325a686 to b68c7e6 Compare December 22, 2023 10:54
@Conaclos Conaclos changed the title refactor(lint/noEMptyInterface): ignore empty interface that extends a type refactor(lint/noEmptyInterface): ignore empty interface that extends a type Dec 22, 2023
@github-actions github-actions bot removed the A-Project Area: project label Dec 22, 2023
@Conaclos Conaclos merged commit 00bf6d9 into main Dec 22, 2023
20 checks passed
@Conaclos Conaclos deleted the conaclos/lint/noEMptyInterfaceExtends branch December 22, 2023 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog A-Linter Area: linter A-Website Area: website L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

💅 lint/suspicious/noEmptyInterface false positive
2 participants