add recommendedVariantOrder lint setting

master
Brad Cornes 2021-05-05 14:56:54 +01:00
parent 15fd935c57
commit 4769177173
1 changed files with 11 additions and 0 deletions

View File

@ -156,6 +156,17 @@
"markdownDescription": "Unknown value used with the [`@tailwind` directive](https://tailwindcss.com/docs/functions-and-directives/#tailwind)", "markdownDescription": "Unknown value used with the [`@tailwind` directive](https://tailwindcss.com/docs/functions-and-directives/#tailwind)",
"scope": "language-overridable" "scope": "language-overridable"
}, },
"tailwindCSS.lint.recommendedVariantOrder": {
"type": "string",
"enum": [
"ignore",
"warning",
"error"
],
"default": "warning",
"markdownDescription": "Class variants not in the recommended order (applies in [JIT mode](https://tailwindcss.com/docs/just-in-time-mode) only)",
"scope": "language-overridable"
},
"tailwindCSS.experimental.classRegex": { "tailwindCSS.experimental.classRegex": {
"type": "array", "type": "array",
"scope": "language-overridable" "scope": "language-overridable"