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

Add no-unsafe-any rule #2047

Merged
merged 4 commits into from Jan 19, 2017
Merged

Add no-unsafe-any rule #2047

merged 4 commits into from Jan 19, 2017

Conversation

andy-hanson
Copy link
Contributor

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update
  • Enable CircleCI for your fork (https://circleci.com/add-projects)

What changes did you make?

Added the no-unsafe-any rule, which warns for unsafe uses of the any type.

export class Rule extends Lint.Rules.TypedRule {
/* tslint:disable:object-literal-sort-keys */
public static metadata: Lint.IRuleMetadata = {
ruleName: "strict-boolean-expressions",
Copy link
Contributor

Choose a reason for hiding this comment

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

Rule name is misspelled. (Not a code review; I'm just here to read the description.)

Copy link
Contributor

@nchen63 nchen63 left a comment

Choose a reason for hiding this comment

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

looks good, thanks!

@nchen63 nchen63 merged commit a107279 into palantir:master Jan 19, 2017
@andy-hanson andy-hanson deleted the no_unsafe_any branch January 19, 2017 04:20
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.

None yet

3 participants