Skip to content

Enforce no-unused-locals in .werft #12525

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

Merged
merged 1 commit into from
Aug 31, 2022
Merged

Enforce no-unused-locals in .werft #12525

merged 1 commit into from
Aug 31, 2022

Conversation

mads-hartmann
Copy link
Contributor

@mads-hartmann mads-hartmann commented Aug 30, 2022

Description

This enabled the no-unused-locals TypeScript compiler option and then removes all the unused local variables form the code.

Related Issue(s)

No issue

How to test

tsc --noEmit in .werft is still successful. I triggered the job manually here to ensure the my code was executed by werft.

Release Notes

none

Documentation

N/A

Werft options:

  • /werft with-preview

@mads-hartmann mads-hartmann force-pushed the mads/no-unused-locals branch from 1db83c9 to da93d41 Compare August 31, 2022 09:31
@roboquat roboquat added size/M and removed size/XS labels Aug 31, 2022
@mads-hartmann mads-hartmann marked this pull request as ready for review August 31, 2022 09:50
@mads-hartmann mads-hartmann requested review from a team August 31, 2022 09:50
@github-actions github-actions bot added team: devx team: delivery Issue belongs to the self-hosted team labels Aug 31, 2022
@roboquat roboquat merged commit d795694 into main Aug 31, 2022
@roboquat roboquat deleted the mads/no-unused-locals branch August 31, 2022 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants