Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

typedef rule - Change recommended parameters so to something meaningful #344

Closed
emauricio opened this issue Feb 16, 2017 · 1 comment
Closed
Assignees
Milestone

Comments

@emauricio
Copy link

Hello there :) , quick question about the recommended settings.

Im using Webstorm and latest tslint.

This rule set is on the recommended list, but seems that not trigger anything.

"typedef": [true, "callSignature", "indexSignature", "parameter", "propertySignature", "variableDeclarator", "memberVariableDeclarator"],

In the rules from tslint is define a little different
and it works.

"typedef":` [ true, "call-signature", "parameter", "variable-declaration", "property-declaration",  "member-variable-declaration" ]

So i was wondering if Im missing any setting, is just a typo inside the recommended list or i didn't understood from where that typedef come from . :P

Thank you in advance.

@HamletDRC HamletDRC self-assigned this Feb 17, 2017
@HamletDRC HamletDRC changed the title [question] in the recommended rules typedef Recommended typedef parameters are camel-cased instead of kebab-cased Feb 17, 2017
@HamletDRC
Copy link
Member

You are correct! It is a bug. I suspect maybe the parameter names changed in the last 18 months.

@HamletDRC HamletDRC added this to the 3.0.1 milestone Feb 18, 2017
@HamletDRC HamletDRC changed the title Recommended typedef parameters are camel-cased instead of kebab-cased typedef rule - Change recommended parameters so to something meaningful Mar 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants