Skip to content

Releases: exogen/jest-styled-components-stylelint

v0.6.0

Choose a tag to compare

@exogen exogen released this 05 Mar 22:27
  • Default to a custom stylelint formatter that shows the code inline.

v0.5.0

Choose a tag to compare

@exogen exogen released this 05 Mar 01:11

Added

  • Attempt to find the component name if running in an environment like jsdom (with access to document and basic DOM features). The component name is determined from the generated sc-component-id, which should be there if you are using the Babel plugin.

v0.4.1

Choose a tag to compare

@exogen exogen released this 04 Mar 22:34
  • Fix broken package caused by not updating the main field in package.json.

v0.4.0

Choose a tag to compare

@exogen exogen released this 04 Mar 22:19

Broken release, do not use

  • Code cleanup & organization. There should be no noticeable changes in behavior.

v0.3.2

Choose a tag to compare

@exogen exogen released this 04 Mar 19:30
  • Reduce number of extra whitespace lines output by stylelint's string formatter.
  • Fix the reported error count.

v0.3.1

Choose a tag to compare

@exogen exogen released this 04 Mar 11:47
  • Fixed __TEST_PATH__ only being replaced once in output.

v0.3.0

Choose a tag to compare

@exogen exogen released this 04 Mar 11:34
  • stylis-plugin-stylelint is no longer used. Instead, the stylint() function itself is used as a hook to determine what styles are being rendered. This should improve performance, since the plugin needed to spawn a process for every style.
  • Improved console output.

BREAKING CHANGES

  • Removed support for calling the toPassStylelint matcher directly. This is now used only internally. You can no longer make an assertion about the component styles rendered in a particular function – the whole test is always linted.

v0.1.0

Choose a tag to compare

@exogen exogen released this 04 Mar 11:35

Initial release.