Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

no-unnecessary-local-variable false positive #381

Closed
buu700 opened this issue Jul 5, 2017 · 0 comments
Closed

no-unnecessary-local-variable false positive #381

buu700 opened this issue Jul 5, 2017 · 0 comments
Assignees
Labels
Difficulty: Medium People with non-trivial experience in TSLint should be able to send a pull request for this issue. Resolution: Fixed Hooray! Type: Bug
Milestone

Comments

@buu700
Copy link

buu700 commented Jul 5, 2017

Code like the following incorrectly triggers a lint error:

const balls = {
    foo: 'foo',
    bar: () => balls.foo
};

return balls;
@HamletDRC HamletDRC added this to the 5.0.4 milestone Apr 16, 2018
@HamletDRC HamletDRC self-assigned this Apr 16, 2018
@JoshuaKGoldberg JoshuaKGoldberg added Difficulty: Medium People with non-trivial experience in TSLint should be able to send a pull request for this issue. Resolution: Fixed Hooray! labels Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Difficulty: Medium People with non-trivial experience in TSLint should be able to send a pull request for this issue. Resolution: Fixed Hooray! Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants