forked from cwoolum/ionicV4-tslint
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Although less likely to cause problems than an instance that calls create()
, we could probably do some more syntax checks like we do for ion-action-sheet-method-create-parameters-renamed
and ion-alert-method-create-parameters-renamed
.
It appears as though we're just checking for any function call by the name of getSlidingPercent()
:
if (expression.name && expression.name.text === 'getSlidingPercent') { | |
const replacement = new Lint.Replacement(expression.name.getStart(), expression.name.getWidth(), 'getSlidingRatio'); | |
this.addFailure(this.createFailure(expression.name.getStart(), expression.name.getWidth(), ruleMessage, replacement)); | |
} |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working