You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0884e29
Browse filesBrowse the repository at this point in the historyBrowse files
Removed the `attributes` and `functions` options from the nursery rule [`noTailwindArbitraryValue`](https://biomejs.dev/linter/rules/no-tailwind-arbitrary-value/). The rule now uses the same Tailwind detection as [`useTailwindShorthandClasses`](https://biomejs.dev/linter/rules/use-tailwind-shorthand-classes/).
× Found an arbitrary value in a Tailwind CSS class.
147
+
i Found an arbitrary value in a Tailwind CSS class.
150
148
151
-
6 │ <divclass="text-red-500/[0.31]"></div>
152
-
7 │ <divclass="[color:red]"></div>
153
-
> 8 │ <divclassList="p-[10px]"></div>
154
-
│ ^^^^^^
155
-
9 │ <divCLASS="m-[2px]"></div>
156
-
10 │ <divCLASSLIST="p-[10px]"></div>
157
-
158
-
i Arbitrary values bypass Tailwind's theme configuration, defeating design-system consistency and making styles harder to refactor.
159
-
160
-
i Use a named utility from your Tailwind configuration instead.
161
-
162
-
i This rule belongs to the nursery group, which means it is not yet stable and may change in the future. Visit https://biomejs.dev/linter/#nursery for more information.
× Found an arbitrary value in a Tailwind CSS class.
171
-
172
-
7 │ <divclass="[color:red]"></div>
173
-
8 │ <divclassList="p-[10px]"></div>
174
-
> 9 │ <divCLASS="m-[2px]"></div>
175
-
│ ^^^^^
176
-
10 │ <divCLASSLIST="p-[10px]"></div>
177
-
11 │
178
-
179
-
i Arbitrary values bypass Tailwind's theme configuration, defeating design-system consistency and making styles harder to refactor.
180
-
181
-
i Use a named utility from your Tailwind configuration instead.
182
-
183
-
i This rule belongs to the nursery group, which means it is not yet stable and may change in the future. Visit https://biomejs.dev/linter/#nursery for more information.
0 commit comments