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

feature: add onSubmit rule #11

Closed jzatt closed 2 years ago

jzatt commented 2 years ago

This adds a rule for the onSubmit property. I opted to not add it to the recommended settings, but can add it if you think it makes sense.

davidcalhoun commented 2 years ago

Good stuff, thank you for the PR! I'll take a look in a bit.

davidcalhoun commented 2 years ago

Thank you again for the great PR! Released the changes in version 2.0.0