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

Add no-object-literal-type-assertion rule #2580

Merged

Conversation

andy-hanson
Copy link
Contributor

PR checklist

Overview of change:

Added the no-object-literal-type-assertion rule, which warns on { } as T.

CHANGELOG.md entry:

[new-rule] no-object-literal-type-assertion

Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

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

nice! I would love to turn this on in tslint:latest but that might be too opinionated for the broader community...

@adidahiya adidahiya merged commit 82bd9b2 into palantir:master Apr 17, 2017
@andy-hanson andy-hanson deleted the no-object-literal-type-assertion branch April 18, 2017 01:23
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.

2 participants