# What changed in stylelint-prettier

> 5 changes in stylelint-prettier 2 to 5 from its official release notes, upgrade guides and advisories: 3 breaking. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/stylelint-prettier/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## stylelint-prettier 5

### Behavior and default changes

- Adds support for Stylelint v18, expanding the versions developers can use with stylelint-prettier. (5.1.0) — [release notes](https://github.com/prettier/stylelint-prettier/blob/c5591b4adaba9be3be4d25d64570a309c5e1e159/CHANGELOG.md#510-2026-11-07)

### Fixes and other changes

- With Stylelint 16.8.2 and above, passes a fix function to the report API instead of calling the function directly when available. (5.1.0) — [release notes](https://github.com/prettier/stylelint-prettier/blob/c5591b4adaba9be3be4d25d64570a309c5e1e159/CHANGELOG.md#510-2026-11-07)

## stylelint-prettier 2

### Breaking changes

- Requires ^12.22.0 || ^14.17.0 || >=16.0.0, dropping support for v8.x and v10.x. (2.0.0) — [release notes](https://github.com/prettier/stylelint-prettier/blob/HEAD/CHANGELOG.md)
- Requires prettier v2 or later, dropping support for v1.x. (2.0.0) — [release notes](https://github.com/prettier/stylelint-prettier/blob/HEAD/CHANGELOG.md)
- Requires stylelint v14 or later, dropping support for v9.5 through v13.x. (2.0.0) — [release notes](https://github.com/prettier/stylelint-prettier/blob/HEAD/CHANGELOG.md)
