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: avoid using legacy report API in no-irregular-whitespace #11013

Merged
merged 1 commit into from Oct 24, 2018

Conversation

@not-an-aardvark
Copy link
Member

commented Oct 24, 2018

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 the no-irregular-whitespace rule to avoid using the legacy multi-argument context.report API. We have a linting rule to enforce against using the API, but the rule wasn't enforcing it in this case.

This was originally found by @aladdin-add in not-an-aardvark/eslint-plugin-eslint-plugin#64.

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

Nothing in particular

Chore: avoid using legacy report API in no-irregular-whitespace
This updates the no-irregular-whitespace rule to avoid using the legacy multi-argument `context.report` API. We have a linting rule to enforce against using the API, but the rule wasn't enforcing it in this case.

This was originally found by Aladdin-ADD in not-an-aardvark/eslint-plugin-eslint-plugin#64.

@not-an-aardvark not-an-aardvark force-pushed the no-use-legacy-report-api branch from 6c6a5fd to 6dc4eda Oct 24, 2018

@not-an-aardvark not-an-aardvark merged commit 3d88b38 into master Oct 24, 2018

5 checks passed

commit-message Commit message follows guidelines
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
licence/cla Contributor License Agreement is signed.
Details
release-monitor No patch release is pending
Details

@not-an-aardvark not-an-aardvark deleted the no-use-legacy-report-api branch Oct 24, 2018

@eslint eslint bot locked and limited conversation to collaborators Apr 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants
You can’t perform that action at this time.