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

New Rule: no-non-null-assertion #2221

Merged
merged 2 commits into from
Feb 22, 2017

Conversation

arusakov
Copy link
Contributor

For #1444

@@ -0,0 +1,47 @@
/**
* @license
* Copyright 2013 Palantir Technologies, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

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

2017

/* tslint:disable:object-literal-sort-keys */
public static metadata: Lint.IRuleMetadata = {
ruleName: "no-non-null-assertion",
description: "Disallows non null assertions.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be nice if you also add rationale to describe why this rule is useful.

@arusakov
Copy link
Contributor Author

@ajafff Thank you for review!

@nchen63 nchen63 merged commit eea89e5 into palantir:master Feb 22, 2017
@nchen63
Copy link
Contributor

nchen63 commented Feb 22, 2017

@arusakov thanks!

@arusakov arusakov deleted the no-non-null-assertion branch February 23, 2017 07:32
@joscha
Copy link
Contributor

joscha commented Feb 24, 2017

awesome, can we get a new tslint release with this, please @nchen63?

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.

5 participants