stylelint-prettier
Advanced tools
Changelog
5.0.2 (2024-07-16)
Fix case where less files were incorrectly mangled when using v5.0.1 (#363)
Changelog
5.0.1 (2024-07-13)
Fix case where when autofixing multiple other rules in addition to prettier, the other autofixes would be thrown away (#360)
Changelog
5.0.0 (2023-12-10)
Increase the minimum required versions of stylelint
and node
. Stylelint v16
has converted its codebase to esm and has deprecated its commonjs apis. We've followed their suggested migration guide and stylelint-prettier
is now an esm-only package. This has required dropping support for v15 at the same time.
Changelog
4.1.0 (2023-11-24)
Changelog
4.0.2 (2023-07-27)
Fix case where an error is thrown when no prettier configuration file is found (#311)
Changelog
4.0.1 (2023-07-26)
Fix prettier-plugin-svelte
support by ensuring .svelte
files are ignored. The regression of them not being ignored only affected v4.0.0. (#309)
Changelog
4.0.0 (2023-07-07)
Add support for Prettier v3.
In order to make Prettier v3 work, we've had to drop support for Prettier v2.x
and Stylelint less that v15.8.0
. Maintaining temporary support for Prettier v2 and v3 at the same time isn't worth the complication that results thanks to prettier's migration to es modules. When you update to prettier v3, ensure that you update stylelint-prettier
at the same time.
prettier
version is now v3.0.0
.stylelint
version is now v15.8.0
.Changelog
3.0.0 (2023-02-22)
Remove stylelint-config-prettier
from the recommended config. Stylelint v15 deprecated the rules that stylelint-config-prettier
disabled, thus if you do not use those deprecated rules then you do not need stylelint-config-prettier
. If you are still using these deprecated rules then you should install and configure stylelint-config-prettier
separately.
Increase the mimimum required node version. No code changes have been required and v2.0.0 works with stylelint v15, however continuing to test with the unsupported node 12 is a burden that is not worth carrying.
stylelint-prettier/recommended
in v2 then you must add an explict extend from stylelint-config-prettier
to retain the same behaviour.Changelog
2.0.0 (2021-11-05)
Increase the minimum required versions of stylelint
, prettier
and node
. No code changes have been required and v1.2.0 works with stylelint v14, however continuing to test old these old unsupported versions is getting more difficult thanks to internal API changes. (#198)
Changelog
1.2.0 (2021-02-27)
<style>
tags) using stylelint feels like unneeded work if you're about to run prettier over the whole file anyway (#160)