Moshe Simantov

Results 51 comments of Moshe Simantov

If on the end you want a string then it make sense to use `construct`, but it's true that the types there may have some bugs getting that. TypeScript making...

It should also support `UnprocessedItems` somehow.

@nzakas Tests and some improvements added.

@mdjermanovic @nzakas What's your perspective when a user has a configuration to WARN about this rule but to ERROR on something critical like missing return statement or an invalid comparison...

@nzakas the point is that it's **IMPOSSIBLE** to fix the max lines error as it marks all the lines and you can't read the code. I feel very strongly it...

Function header sound great, I've update the description.

Btw, the rule "max-lines" (for files) mark only the lines that exceed the limit. maybe we can have the same solution here.

I'm using this rule for a few months now. I think it will be really helpful to warn only the function header and not all the body. The code is...

@sindresorhus What's the status of this? Can I write a PR?