We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why should this rule be added? Share links to existing discussion about what the community thinks about this.
Typescript just added a way to identify labels which are not being used. I think this would be really nice to have in swift as lint rule.
https://github.com/Microsoft/TypeScript/pull/24037/files
Provide several examples of what would and wouldn't trigger violations.
label2: /// label2 not being used. Consider removing while (true) {}
do, while, repeat should be supported
non triggering examples:
label2: while (true) { break label2}
Should the rule be configurable, if so what parameters should be configurable?
none
Should the rule be opt-in or enabled by default? Why? See README.md for guidelines on when to mark a rule as opt-in.
probably opt in
The text was updated successfully, but these errors were encountered:
It took me a bit to understand that this was about unused control flow labels, not closure parameters.
Sorry, something went wrong.
Add unused_control_flow_label rule
17427c4
Fixes realm#2227
No branches or pull requests
Rule Request
Typescript just added a way to identify labels which are not being used. I think this would be really nice to have in swift as lint rule.
https://github.com/Microsoft/TypeScript/pull/24037/files
do, while, repeat should be supported
non triggering examples:
none
probably opt in
The text was updated successfully, but these errors were encountered: