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

Add ignore-properties to no-inferrable-types #2178

Merged
merged 1 commit into from Feb 7, 2017
Merged

Add ignore-properties to no-inferrable-types #2178

merged 1 commit into from Feb 7, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented Feb 6, 2017

PR checklist

What changes did you make?

[new-fixer] automatically remove inferrable type annotations
[new-rule-option] added ignore-properties option to no-inferrable-types
Minor Refactoring to use the new AbstractWalker

Is there anything you'd like reviewers to focus on?

Not sure about the option name. Parameters is abbreviated to params. Maybe I should do the same for properties -> props?

@nchen63
Copy link
Contributor

nchen63 commented Feb 7, 2017

I approve of the changelog style entries 👍 👍

@nchen63 nchen63 merged commit 0def9f7 into palantir:master Feb 7, 2017
@nchen63
Copy link
Contributor

nchen63 commented Feb 7, 2017

@ajafff thanks!

@@ -28,20 +34,26 @@ export class Rule extends Lint.Rules.AbstractRule {
description: "Disallows explicit type declarations for variables or parameters initialized to a number, string, or boolean.",
rationale: "Explicit types where they can be easily infered by the compiler make code more verbose.",
optionsDescription: Lint.Utils.dedent`
One argument may be optionally provided:
Two argument may be optionally provided:
Copy link
Contributor

Choose a reason for hiding this comment

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

btw, looks like you forgot to make "argument" plural.

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