Skip to content

Commit 4769177

Browse files
committed
add recommendedVariantOrder lint setting
1 parent 15fd935 commit 4769177

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,17 @@
156156
"markdownDescription": "Unknown value used with the [`@tailwind` directive](https://tailwindcss.com/docs/functions-and-directives/#tailwind)",
157157
"scope": "language-overridable"
158158
},
159+
"tailwindCSS.lint.recommendedVariantOrder": {
160+
"type": "string",
161+
"enum": [
162+
"ignore",
163+
"warning",
164+
"error"
165+
],
166+
"default": "warning",
167+
"markdownDescription": "Class variants not in the recommended order (applies in [JIT mode](https://tailwindcss.com/docs/just-in-time-mode) only)",
168+
"scope": "language-overridable"
169+
},
159170
"tailwindCSS.experimental.classRegex": {
160171
"type": "array",
161172
"scope": "language-overridable"

0 commit comments

Comments
 (0)