Add tslint rules for #3994#4458
Conversation
weswigham
commented
Aug 26, 2015
|
Ping @DanielRosenwasser for some input. (specifically on the inference rule - is it even possible to recover that kind of info from the checker right now?) |
|
These seem like good rule concepts, any interest in contributing some/all of these directly to TSLint? If not, we'll probably go ahead and add at least some of them ourselves |
|
I'd probably say to go for it - which ones are you interested in? |
|
I'm mainly interested in bringing There seems to be interest in something like |
|
I thought maybe no-null as well? Seems like something people might want |
|
I'd like to wait until we see more demand for a |
There was a problem hiding this comment.
Consider TemplateExpression as well
|
@DanielRosenwasser feedback integrated. |
|
👍 |
|
@mhegazy would you like to 👍 this? |
|
👍 |
|
Just fyi: we're working on adding this to tslint. I've added checking for parameter declarations as well as variable declarations. Feel free to leave feedback if you have any: palantir/tslint#690 |