Releases: solidjs-community/eslint-plugin-solid
v0.12.0
Small release—some code refactoring and squashing false positives! Probably could have been a patch 🤷🏼
What's Changed
- Update rules to use typescript-eslint RuleCreator by @joshwilsonvu in #88
- Add
observable(() => ...)
into reactivity whitelist by @voliva in #90 - Allow reactivity in use: directive function. by @joshwilsonvu in #91
New Contributors
Full Changelog: v0.11.0...v0.12.0
v0.11.0
What's Changed
- Silence reactivity warnings in (standard Web APIs)
*Observer
callbacks by @macarie in #82 - Allow using 'static*' props outside tracked scopes, but forbid passing reactive variables to them in the caller by @joshwilsonvu in #83
New Contributors
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
solid/prefer-show
now applies to control flow functions in JSX by @aadito123 in #70solid/prefer-for
now works on ChainExpressions (array?.map()
) by @aadito123 in #71- New rule:
solid/no-array-handlers
(off by default) by @HatulaPro in #75
New Contributors
@HatulaPro and @aadito123 made their first contributions! 🎉
Full Changelog: v0.9.4...v0.10.0
v0.9.4
What's Changed
- Treat type casts and assertions as transparent in reactivity analysis. by @joshwilsonvu in #67
- Mark props by name on enter pass instead of exit. by @joshwilsonvu in #68
- Treat inline functions as JSX children as tracked functions. by @joshwilsonvu in #69
Full Changelog: v0.9.3...v0.9.4
v0.9.3
What's Changed
- Keep type annotations when autofixing destructured props by @joshwilsonvu in #64
- Fixed build issue with the "standalone" package for the Solid playground by @joshwilsonvu in #65
Full Changelog: v0.9.2...v0.9.3
v0.9.2
What's Changed
- Recognise mapArray as a tracked scope by @jfrere in #56
- Allow forwarding event handlers without wrapper function in Components by @joshwilsonvu in #49
- Always allow xmlns and xlink namespaces by @joshwilsonvu in #51
- Handle mapArray/indexArray edge cases; support member expression custom hooks by @joshwilsonvu in #59
New Contributors
Full Changelog: v0.9.1...v0.9.2
v0.9.1
What's Changed
- Fix onDblClick -> onDoubleClick, put spread event handler warning behind a flag by @joshwilsonvu in #47
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- Add no-react-deps rule by @joshwilsonvu in #45
- Silence reactivity warnings in callback refs by @joshwilsonvu in #44
Full Changelog: v0.8.0...v0.9.0
v0.8.0
eslint-plugin-solid
has moved to the solidjs-community
org! 🎉
This release addresses a few issues and adds a new opt-in solid/no-proxy-apis
rule for users wanting to target environments that don't support ES6 Proxies, in support of Solid v1.6.
What's Changed
- Add solid/no-proxy-apis rule for envs that don't support ES6 Proxy. by @joshwilsonvu in #36
- In components-return-once, don't treat callback functions as components. by @joshwilsonvu in #37
- Deprecate prefer-classlist and set to off in recommended configs. by @joshwilsonvu in #38
- Show reactivity warning on reactive variables in context provider value prop by @joshwilsonvu in #39
Full Changelog: v0.7.4...v0.8.0
v0.7.4
This release silences a few warnings for code that works just fine, and adds a new solid/imports
rule.
solid/imports
: shuffles imports from"solid-js"
,"solid-js/web"
, and"solid-js/store"
to the correct places, so you don't have to think about which module to import from!- Allows spreading a particular prop to an element, like
<div {...props.divProps} />
. Details in #30 - Allows using signals in an object property, like
{ foo() { return props.foo; } }
. Details in #32
Apologies for the semver mix-up, this was semantically a minor release 😅
Full Changelog: v0.7.3...v0.7.4