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
Copy file name to clipboardExpand all lines: README.md
+28-4Lines changed: 28 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Installation
4
4
5
-
**[Open in Visual Studio Code →](vscode:extension/bradlc.vscode-tailwindcss)**
5
+
**[View in Visual Studio Code Marketplace →](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss)**
6
6
7
7
In order for the extension to activate you must have [`tailwindcss` installed](https://tailwindcss.com/docs/installation/#1-install-tailwind-via-npm) and a [Tailwind config file](https://tailwindcss.com/docs/installation/#3-create-your-tailwind-config-file-optional) named `tailwind.config.js` or `tailwind.js` in your workspace.
8
8
@@ -11,17 +11,17 @@ In order for the extension to activate you must have [`tailwindcss` installed](h
11
11
-**Autocomplete**
12
12
Intelligent suggestions for class names, [CSS directives](https://tailwindcss.com/docs/functions-and-directives/), and the [`theme` helper](https://tailwindcss.com/docs/functions-and-directives/#theme)
Provides syntax definitions so that use of Tailwind features doesn’t mess up your syntax highlighting
@@ -59,3 +59,27 @@ Enable linting. Rules can be configured individually using the `tailwindcss.lint
59
59
-`ignore`: disable lint rule entirely
60
60
-`warning`: rule violations will be considered "warnings," typically represented by a yellow underline
61
61
-`error`: rule violations will be considered "errors," typically represented by a red underline
62
+
63
+
### `tailwindCSS.lint.invalidScreen`
64
+
65
+
Unknown screen name used with the [`@screen` directive](https://tailwindcss.com/docs/functions-and-directives/#screen). **Default: `error`**
66
+
67
+
### `tailwindCSS.lint.invalidVariant`
68
+
69
+
Unknown variant name used with the [`@variants` directive](https://tailwindcss.com/docs/functions-and-directives/#variants). **Default: `error`**
70
+
71
+
### `tailwindCSS.lint.invalidTailwindDirective`
72
+
73
+
Unknown value used with the [`@tailwind` directive](https://tailwindcss.com/docs/functions-and-directives/#tailwind). **Default: `error`**
74
+
75
+
### `tailwindCSS.lint.invalidApply`
76
+
77
+
Unsupported use of the [`@apply` directive](https://tailwindcss.com/docs/functions-and-directives/#apply). For example class names which contain pseudo selectors cannot currently be used with `@apply`. **Default: `error`**
78
+
79
+
### `tailwindCSS.lint.invalidConfigPath`
80
+
81
+
Unknown or invalid path used with the [`theme` helper](https://tailwindcss.com/docs/functions-and-directives/#theme). **Default: `error`**
82
+
83
+
### `tailwindCSS.lint.cssPropertyConflict`
84
+
85
+
Class names on the same HTML element which apply the same CSS property or properties. **Default: `warning`**
0 commit comments