Closed KhaledMohamedP closed 1 year ago
This PR addresses this issue here https://github.com/davidcalhoun/eslint-plugin-test-selectors/issues/16
Support multiple test attributes
{ "rules": { "test-selectors/button": [ "warn", "always", { "htmlOnly": true, "testAttribute": ["data-testid", "testId"] } ] }
This seems reasonable to me, but I'll wait for @davidcalhoun to give the final go.
Great, thank you for the PR! Looks ok on first glance, I haven't had a chance to test it out yet.
This PR addresses this issue here https://github.com/davidcalhoun/eslint-plugin-test-selectors/issues/16
Support multiple test attributes