Skip to content

Commit b300077

Browse files
Sort classes inside className in Astro (#215)
* Update lockfile * Add `className` to sortable properties in Astro When using Astro with React you’d also want to sort `className` in addition to `class` and `class:list`. While we might be able to do some work to figure out if the element the attribute is on is a React component it seems unnecessary and I think it’s reasonable to have this enabled all the time. * Update changelog
1 parent 38fed86 commit b300077

File tree

4 files changed

+1241
-1050
lines changed

4 files changed

+1241
-1050
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Fixed
11+
12+
- Sort classes inside `className` in Astro ([#215](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/215))
1113

1214
## [0.5.4] - 2023-08-31
1315

0 commit comments

Comments
 (0)