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

fix(getCheckMessage): add API to return check message #2066

Merged
merged 2 commits into from
Feb 27, 2020
Merged

Conversation

straker
Copy link
Contributor

@straker straker commented Feb 26, 2020

Technically this is a feat, but we had a breaking change for 3.5.1 that broke eslint-plugin-jsx-a11y, so we need to release this as a patch release so we don't go to 3.6.0.

With this, they can use a public API rather than accessing a private interface:

export function axeFailMessage(checkId, data) {
  return axe.utils.getCheckMessage(checkId, 'fail', data);
}

Closes issue: #2060

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Code is reviewed for security

@straker straker requested a review from a team as a code owner February 26, 2020 20:47
lib/core/utils/get-check-message.js Outdated Show resolved Hide resolved
@straker straker merged commit bcfa400 into develop Feb 27, 2020
@straker straker deleted the checkMessage branch February 27, 2020 17:23
straker added a commit that referenced this pull request Mar 6, 2020
* feat(getCheckMessage): add API to return check message

* throw when invalid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants