Aljeksej Jaroševič

Results 338 comments of Aljeksej Jaroševič

@cowwoc Well... ;-D Did you mean `this.login` is undefined? I see `return this.login(...)` in the code so I can't understand what triggers an error and why it's type mismatch ;-\...

You mean this case? ``` js /** * @return {undefined} something specie */ function () { // dummy... } ``` `checkRedundantReturns` rule was made for `@returns` statements for functions without...

@cowwoc There are three separated options for now. `requireReturnTypes` just checking existence of type in jsdoc; `checkReturnTypes` makes code scan for inner content of function (scope) and matching inner return...

@cowwoc I've wrote some additional information about rules in readme. I know that all these rules are not perfect but to go ahead we need to formalize issues. > I...

There were no real use-cases for Numbers so I've left them to the further researches. In the JSCS repo we thinking about some schema: https://github.com/jscs-dev/node-jscs/issues/895 I think it can be...

Well, but: ``` js ({}).constructor.name "Object" ("").constructor.name "String" ```

@gajus Just noticed that natives should be primitives: https://developer.mozilla.org/en-US/docs/Glossary/Primitive Oopsie!