jsx-eslint / eslint-plugin-jsx-a11y

Static AST checker for a11y rules on JSX elements.
MIT License
3.38k stars 637 forks source link

[New] Add `attributes` setting #979

Closed edoardocavazza closed 4 days ago

edoardocavazza commented 4 months ago

This Pull Request replaces PR #977 and introduces a global setting to configure attributes, as suggested here.

It allows for attribute support for label-has-associated-control rule.

Related: #894, fixes #961

edoardocavazza commented 4 months ago

Uh I am sorry, I thought it was a good idea to make the rule configurable too. I'll drop rule options, keeping the global setting.