Skip to content

Releases: solidjs-community/eslint-plugin-solid

v0.10.0

19 Feb 22:42
Compare
Choose a tag to compare

What's Changed

  • solid/prefer-show now applies to control flow functions in JSX by @aadito123 in #70
  • solid/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

28 Jan 22:22
Compare
Choose a tag to compare

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

15 Jan 21:41
Compare
Choose a tag to compare

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

11 Jan 00:19
Compare
Choose a tag to compare

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

27 Nov 19:02
Compare
Choose a tag to compare

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

27 Nov 03:34
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.0...v0.9.0

v0.8.0

01 Nov 16:38
Compare
Choose a tag to compare

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

22 Oct 16:06
Compare
Choose a tag to compare

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

v0.7.2

12 Sep 02:56
Compare
Choose a tag to compare

This release adds support for common reactivity patterns (i.e. solid-styled-components) using tagged template literals. Details in #29

Under the hood, there's been a lot of groundwork done for bringing eslint-plugin-solid to the Solid Playground—more to come soon.

Full Changelog: v0.7.1...v0.7.2

v0.7.1

10 Jul 19:45
Compare
Choose a tag to compare

Small release! Docs and rule improvements.

  • Added missing descriptions and defaults for rule options. Details in #27
  • Improved and added tests for solid/prefer-show. Note that it's "off" by default in solid/recommended.
  • solid/reactivity will now catch several new cases where signals need to be called but aren't. Details in #28

Full Changelog: v0.7.0...v0.7.1