Skip to content

Instantly share code, notes, and snippets.

@patrickmaciel
Created October 25, 2019 01:45
Show Gist options
  • Save patrickmaciel/a6b4a19cc9493abccbb195ebe6346cab to your computer and use it in GitHub Desktop.
Save patrickmaciel/a6b4a19cc9493abccbb195ebe6346cab to your computer and use it in GitHub Desktop.
ESLINT - allow htmlFor to work with next elements not only nested
{
"jsx-a11y/label-has-associated-control": [ 2, {
"required": {
"some": [ "nesting", "id" ]
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment