Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Issue #1054 - Ported the use-isnan rule from tslint-microsoft-contrib… #1140

Merged
merged 1 commit into from
Apr 19, 2016
Merged

Conversation

HamletDRC
Copy link
Contributor

… to tslint

Closes #1054

@HamletDRC
Copy link
Contributor Author

It's not clear to me where to update your documentation pages. Do I need to do that as well?

@jkillian
Copy link
Contributor

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";

/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can delete this comment

Copy link
Contributor Author

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?

Copy link
Contributor

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 👍

@jkillian
Copy link
Contributor

Thanks @HamletDRC, this PR looks great! Could you just make the super minor tweaks mentioned above before it merges?

@jkillian jkillian merged commit 71d4b95 into palantir:master Apr 19, 2016
@HamletDRC
Copy link
Contributor Author

Great. Thanks.

@dasa
Copy link

dasa commented Apr 27, 2016

This is now failing for:

    let x = 0;
    x = NaN;

@jkillian
Copy link
Contributor

Uh-oh! Thanks for the heads-up @dasa

@HamletDRC
Copy link
Contributor Author

HamletDRC commented Apr 29, 2016

sending pull request #1185

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants