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

Add allow-delete option to no-unbound-method rule #4548

Merged

Conversation

piotrgajow
Copy link
Contributor

PR checklist

Overview of change:

Added configuration option to no-unbound-method that does allows not reporting errors in delete statements delete obj.method;

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

CHANGELOG.md entry:

[new-rule-option] Added allow-delete option to no-unbound-method rule

@piotrgajow piotrgajow marked this pull request as ready for review February 26, 2019 17:10
Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Good start! +1 to simplifying isWhitelisted's params. Just a bit of touching up around docs & tests.

src/rules/noUnboundMethodRule.ts Outdated Show resolved Hide resolved
Josh Goldberg and others added 3 commits March 4, 2019 15:38
Fix description to account possibile additional parameters

Co-Authored-By: piotrgajow <piotrgajow@gmail.com>
…w/tslint into issue/3801/UnboundMethodDelete
@JoshuaKGoldberg
Copy link
Contributor

Super, thanks @piotrgajow!

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