davidcalhoun / eslint-plugin-test-selectors

Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.
28 stars 14 forks source link

How to ignore empty value for `data-test-id`? #28

Open adeherysh opened 10 months ago

adeherysh commented 10 months ago

How to ignore empty value for data-test-id ?

<button data-test-id="">Download</button><button data-test-id="download-button">Download</button>