# TailwindPrettierOptions

`interface` in `eslint-config/prettier` · v1.5.5-next.0

<https://docs.seedcord.org/packages/eslint-config/1.5.5-next.0/interfaces/tailwind-prettier-options>

Tailwind class-sorting options forwarded to `prettier-plugin-tailwindcss`.

```ts
interface TailwindPrettierOptions
```

## Properties

### attributes

```ts
attributes: string[]
```

Attribute names (or `/regex/`) whose values get class-sorted. No default.

### functions

```ts
functions: string[]
```

Function and tagged-template names whose class strings get sorted (`prettier-plugin-tailwindcss` treats both via `tailwindFunctions`).

 ['cn', 'tw']

### preserveDuplicates

```ts
preserveDuplicates: boolean;
```

Keeps duplicate classes uncollapsed

### stylesheet

```ts
stylesheet: string;
```

Path to the Tailwind entry stylesheet (the one with `@import 'tailwindcss'`). Required by v4.
