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

Converted react-no-dangerous-html to use a walk function. #721

Merged
merged 2 commits into from
Dec 30, 2018
Merged

Converted react-no-dangerous-html to use a walk function. #721

merged 2 commits into from
Dec 30, 2018

Conversation

reduckted
Copy link
Contributor

PR checklist

Overview of change:

Converted react-no-dangerous-html to use a walk function.

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

The public static Rule.getExceptions() function was supposedly "Exposed for testing.", but nothing outside of this class used it, so I've removed it. I'm not sure if that's considered a breaking change (it was a public function on an exported class). If it is a breaking change, then I can easily revert it by rolling back the second commit.

@JoshuaKGoldberg
Copy link

Rules aren't generally considered part of TSLint's API, so I don't think we should consider this a breaking change. ✔

@JoshuaKGoldberg JoshuaKGoldberg merged commit 991da07 into microsoft:master Dec 30, 2018
@reduckted reduckted deleted the 680/react-no-dangerous-html branch December 30, 2018 10:12
@IllusionMH IllusionMH added this to the 6.1.0-beta milestone Feb 19, 2019
apawast pushed a commit to lupine86/tslint-microsoft-contrib that referenced this pull request Feb 26, 2019
)

* Converted react-no-dangerous-html to use a walk function.

* Replaced getExceptions() with a parseOptions() function.
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.

3 participants