File tree 2 files changed +11
-0
lines changed
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
9
9
10
10
- Add support for ` @zackad/prettier-plugin-twig ` ([ #308 ] ( https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/308 ) )
11
11
- 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 ) )
12
13
13
14
## [ 0.6.9] - 2024-11-19
14
15
Original file line number Diff line number Diff line change @@ -1217,6 +1217,16 @@ export interface PluginOptions {
1217
1217
* List of custom attributes that contain classes.
1218
1218
*/
1219
1219
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
1220
1230
}
1221
1231
1222
1232
declare module 'prettier' {
You can’t perform that action at this time.
0 commit comments