Skip to content

[New] Add attributes setting#979

Merged
ljharb merged 1 commit intojsx-eslint:mainfrom
edoardocavazza:attributes-setting
Sep 4, 2024
Merged

[New] Add attributes setting#979
ljharb merged 1 commit intojsx-eslint:mainfrom
edoardocavazza:attributes-setting

Conversation

@edoardocavazza
Copy link
Copy Markdown
Contributor

@edoardocavazza edoardocavazza commented Apr 15, 2024

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

Copy link
Copy Markdown
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be a bit confused; i was suggesting only a setting, and no rule config changes at all.

Comment thread docs/rules/label-has-associated-control.md Outdated
Comment thread flow/eslint.js
@edoardocavazza
Copy link
Copy Markdown
Contributor Author

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.

@ljharb ljharb force-pushed the attributes-setting branch from ef13138 to a1ee7f8 Compare September 4, 2024 05:25
@ljharb ljharb changed the title Add attributes setting [New] Add attributes setting Sep 4, 2024
@ljharb ljharb merged commit a1ee7f8 into jsx-eslint:main Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jsx-a11y/label-has-associated-control gives error when for is put

2 participants