solidjs-community / eslint-plugin-solid

Solid-specific linting rules for ESLint.
MIT License
216 stars 26 forks source link

solid/event-handlers doesn't correct onCLICK to onClick #26

Closed joshwilsonvu closed 2 years ago

joshwilsonvu commented 2 years ago

Describe the bug For events with one-word names, getCommonEventHandlerName doesn't lowercase everything past the third letter, so onCLICK will slip through unchanged.

Expected behavior Common events like onCLICK should be fixed to onClick.