Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: remove Linter#reset (refs #9161) #9268

Merged
merged 1 commit into from Sep 11, 2017
Merged

Conversation

not-an-aardvark
Copy link
Member

@not-an-aardvark not-an-aardvark commented Sep 9, 2017

What is the purpose of this pull request? (put an "X" next to item)

[x] Other, please explain:

What changes did you make? (Give an overview)

This updates Linter to remove the undocumented reset method.

It also removes the fourth argument from Linter#verify, because that argument now has no effect at all. (It was previously used to control what happened to the internal state of the Linter instance, but now the Linter instance has no internal state except for the sourceCode property, which was always reset regardless). In fact, the fourth argument has never had any effect for users that only used documented APIs. Integrations that use the fourth argument will continue to work the same way that they did before (the fourth argument will just be ignored now).

This builds on top of #9267. The first commit is from that PR. For this PR, only look at the second commit for now (I'll rebase after #9267 is merged).

Refs: #9161

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

Nothing in particular

@not-an-aardvark not-an-aardvark added blocked This change can't be completed until another issue is resolved chore This change is not user-facing labels Sep 9, 2017
@mention-bot
Copy link

@not-an-aardvark, thanks for your PR! By analyzing the history of the files in this pull request, we identified @nzakas, @mysticatea and @gyandeeps to be potential reviewers.

@eslintbot
Copy link

LGTM

@not-an-aardvark not-an-aardvark removed the blocked This change can't be completed until another issue is resolved label Sep 9, 2017
@eslint eslint deleted a comment from eslintbot Sep 9, 2017
@eslintbot
Copy link

LGTM

@not-an-aardvark not-an-aardvark merged commit 28929cb into master Sep 11, 2017
@not-an-aardvark not-an-aardvark deleted the remove-linter-reset branch September 11, 2017 20:11
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Mar 11, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Mar 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion chore This change is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants