Skip to content
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

issue: set no-unused-variable to false #6

Merged
merged 1 commit into from
Mar 28, 2018
Merged

issue: set no-unused-variable to false #6

merged 1 commit into from
Mar 28, 2018

Conversation

benoitdemaegdt
Copy link
Contributor

This PR might looks weird, but it solves a typescript vs tslint issue.

There are some conflicts between no-unused-variable rule, some other tslint rules and typescript that no one really understands.

Ex :
palantir/tslint#2728
palantir/tslint#3478 (the last message of this issue should be read)

Setting this rule to false surprisingly removes this conflict.
Anyway, this rule is already checked by typescript core compiler. As it is well integrated with vs-code, there is no need to check it twice and it should be set to false. Part of the community is pushing in this direction :
palantir/tslint#1481

@benoitdemaegdt benoitdemaegdt self-assigned this Mar 28, 2018
@ccoeurderoy ccoeurderoy added enhancement New feature or request question Further information is requested labels Mar 28, 2018
Copy link
Contributor

@ccoeurderoy ccoeurderoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ccoeurderoy ccoeurderoy merged commit eefd7d9 into algoan-archive:master Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants