File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010- Add support for ` @zackad/prettier-plugin-twig ` ([ #308 ] ( https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/308 ) )
1111- Dropped support for ` @zackad/prettier-plugin-twig-melody ` ([ #308 ] ( https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/308 ) )
12+ - Updated Prettier options types ([ #325 ] ( https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/325 ) )
1213
1314## [ 0.6.9] - 2024-11-19
1415
Original file line number Diff line number Diff line change @@ -1217,6 +1217,16 @@ export interface PluginOptions {
12171217 * List of custom attributes that contain classes.
12181218 */
12191219 tailwindAttributes ?: string [ ]
1220+
1221+ /**
1222+ * Preserve whitespace around Tailwind classes when sorting.
1223+ */
1224+ tailwindPreserveWhitespace ?: boolean
1225+
1226+ /**
1227+ * Preserve duplicate classes inside a class list when sorting.
1228+ */
1229+ tailwindPreserveDuplicates ?: boolean
12201230}
12211231
12221232declare module 'prettier' {
You can’t perform that action at this time.
0 commit comments