solidjs-community / eslint-plugin-solid

Solid-specific linting rules for ESLint.
MIT License
209 stars 24 forks source link

Mark props by name on enter pass instead of exit. #68

Closed joshwilsonvu closed 1 year ago

joshwilsonvu commented 1 year ago

Closes #61. Previously props were marked as reactive on exit pass, so it wouldn't be caught in deeper scopes as they would have finished analysis before the variable was marked. Now, if the props match isPropsByName, they'll be marked on the entry pass; otherwise, behavior is unchanged.