Skip to content

feat(forge fmt): emit warning on unused imports, errors, and events #7399

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

Closed
snreynolds opened this issue Mar 13, 2024 · 2 comments
Closed
Labels
A-extensions Area: extensions C-forge Command: forge Cmd-forge-fmt Command: forge fmt T-feature Type: feature

Comments

@snreynolds
Copy link

Component

Forge

Describe the feature you would like

It would be great if forge fmt could warn about any unused imports, errors, and events. Often find leftovers way later and would be great to avoid with a warning!

Additional context

No response

@snreynolds snreynolds added the T-feature Type: feature label Mar 13, 2024
@zerosnacks zerosnacks added the A-extensions Area: extensions label Jul 12, 2024
@zerosnacks zerosnacks changed the title Forge warning on unused imports, errors, and events feat(forge fmt): emit warning on unused imports, errors, and events Jul 12, 2024
@zerosnacks zerosnacks added C-forge Command: forge Cmd-forge-fmt Command: forge fmt labels Jul 12, 2024
@zerosnacks
Copy link
Member

Related: #1970

@zerosnacks zerosnacks modified the milestone: v1.0.0 Jul 26, 2024
@DaniPopes
Copy link
Member

Closing in favor of #1970, as this is not the formatter's job

@DaniPopes DaniPopes closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-extensions Area: extensions C-forge Command: forge Cmd-forge-fmt Command: forge fmt T-feature Type: feature
Projects
None yet
Development

No branches or pull requests

3 participants