Skip to content

Enable unused value compiler checks #190

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
Dec 11, 2019
Merged

Enable unused value compiler checks #190

merged 1 commit into from
Dec 11, 2019

Conversation

henrymercer
Copy link
Contributor

@henrymercer henrymercer commented Dec 9, 2019

Specifically the noUnusedLocals and noUnusedParameters options. This will mean that we catch these types of warning at compile-time rather than on the PR.

To fix unused locals, I've removed some private annotations on constructor parameters where the property was unused. For unused parameters, I've removed the parameter from internal functions and prefixed an underscore.

Specifically, enable the noUnusedLocals and noUnusedParameters options.
@alexet alexet merged commit eeca6d1 into github:master Dec 11, 2019
@henrymercer henrymercer deleted the unused-value-checks branch December 13, 2019 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants