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

feat: Add auto fix capability to onClick rule when data-test-id attribute is missing #8

Closed bkonuwa closed 3 years ago

bkonuwa commented 3 years ago

data-qa auto-fix

davidcalhoun commented 3 years ago

Thank you very much for submitting this, complete with tests! Will have a look when I get a chance.

davidcalhoun commented 3 years ago

Thank you again, and sorry for the delay! I really need to setup some Github Actions to run tests automatically.