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

Changed no-string-based-set-x rules to use a walk function. #798

Merged
merged 2 commits into from
Jan 28, 2019
Merged

Changed no-string-based-set-x rules to use a walk function. #798

merged 2 commits into from
Jan 28, 2019

Conversation

reduckted
Copy link
Contributor

PR checklist

Overview of change:

Changed these rules to use a walk function:

  • no-string-based-set-immediate
  • no-string-based-set-interval
  • no-string-based-set-timeout

All three rules used the same walker class.

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

Nope.

…nd no-string-based-set-timeout to use a walk function.
Copy link

@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.

Love that you've smooshed the files into one! A couple of comments inline to for a tad bit more cleanup. Thanks!

src/utils/createNoStringParameterToFunctionWalker.ts Outdated Show resolved Hide resolved
src/utils/createNoStringParameterToFunctionWalker.ts Outdated Show resolved Hide resolved
Copy link

@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.

Super, thanks!

@JoshuaKGoldberg JoshuaKGoldberg merged commit 189243b into microsoft:master Jan 28, 2019
@reduckted reduckted deleted the 680-convert-no-string-based-function-calls-to-use-walk-function branch January 29, 2019 09:48
@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
…t#798)

* Changed no-string-based-set-immediate, no-string-based-set-interval and no-string-based-set-timeout to use a walk function.

* Code tidy.
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