Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

feat(rome_js_analyze): noUselessEmptyExport #4693

Merged
merged 1 commit into from
Jul 14, 2023
Merged

feat(rome_js_analyze): noUselessEmptyExport #4693

merged 1 commit into from
Jul 14, 2023

Conversation

Conaclos
Copy link
Contributor

Summary

This implements no-useless-empty-export with a minor improvement: we also report the case where several empty exports compete. In this case, we preserve the last empty export.

Test Plan

Tests included.

@netlify
Copy link

netlify bot commented Jul 13, 2023

Deploy Preview for docs-rometools ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 792ffcd
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/64b05f3a247f1b00088860eb
😎 Deploy Preview https://deploy-preview-4693--docs-rometools.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@github-actions github-actions bot added A-Linter Area: linter A-Project Area: project configuration and loading A-Diagnostic Area: errors and diagnostics labels Jul 13, 2023
@Conaclos Conaclos requested a review from ematipico July 13, 2023 15:42
@Conaclos Conaclos requested a review from ematipico July 13, 2023 20:32
Copy link
Contributor

@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.

Thank you! Awesome rule

@Conaclos Conaclos merged commit e6e2b68 into rome:main Jul 14, 2023
17 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Diagnostic Area: errors and diagnostics A-Linter Area: linter A-Project Area: project configuration and loading
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants