-
Notifications
You must be signed in to change notification settings - Fork 885
Issue #1054 - Ported the use-isnan rule from tslint-microsoft-contrib… #1140
Conversation
… to tslint Closes #1054
It's not clear to me where to update your documentation pages. Do I need to do that as well? |
Don't worry about the documentation pages - I normally update those once a release with the changes gets published. |
import * as ts from "typescript"; | ||
import * as Lint from "../lint"; | ||
|
||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can delete this comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean the block comment and copyright notice? Or the JSDoc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant the JSDoc, but actually it doesn't hurt, you can just leave it 👍
Thanks @HamletDRC, this PR looks great! Could you just make the super minor tweaks mentioned above before it merges? |
Great. Thanks. |
This is now failing for: let x = 0;
x = NaN; |
Uh-oh! Thanks for the heads-up @dasa |
sending pull request #1185 |
… to tslint
Closes #1054