Repository navigation
v0.18.0
Four new correctness rules (from #219, thanks @brenelz), a revived community rule (#145, thanks @SarguelUnda), extensions to existing rules, and a batch of reactivity false-positive fixes. Verified against the official Solid 2.0 templates (zero findings).
New rules (enabled in v2/v2-strict)
solid/no-write-in-pure-computation(error) — setter calls increateMemocallbacks, the compute half ofcreateEffect(compute, effect), and component bodies, all pure owned scopes that throw on writes in Solid 2.0 dev. HonorsownedWrite: true;onSettled/createTrackedEffect/handlers/effect halves exempt by function boundary. Closes #79.solid/no-store-mutation-outside-setter(error) — mutating a store's read proxy is silently ignored by core (no error, no update); lint is the only guardrail today.solid/no-unused-signal(warn) — never-written or never-readcreateSignal/createStore/createOptimistictuples, which unused-variable rules can't see.solid/no-boolean-enumerated-attribute(error) — booleans on enumerated attributes (draggable,spellcheck,contenteditable,translate, tristatearia-*) produce a different state than the string tokens; literals autofix. Closes #144/#145.
Reactivity false-positive fixes
untrack(async () => ...)no longer reports an async tracked scope (#188)this.state = stateis a reference escape, not a snapshot (#184)makePersisted(createSignal(...))-style wrappers analyze as pass-through (#190)
New setting
settings.solid.moduleSourcesregisters custom renderers/re-export wrappers as Solid primitive sources (#183)
Full details in the changelog.