Skip to content

Commit 8edc015

Browse files
committed
readme wip
1 parent 170d6a7 commit 8edc015

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

README.md

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Installation
44

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)**
66

77
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.
88

@@ -11,17 +11,17 @@ In order for the extension to activate you must have [`tailwindcss` installed](h
1111
- **Autocomplete**
1212
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)
1313

14-
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/diagnostics/.github/autocomplete.png" alt="" />
14+
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/diagnostics/.github/autocomplete.png" alt="" />
1515

1616
- **Hover Preview**
1717
See the complete CSS for a Tailwind class name by hovering over it
1818

19-
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/diagnostics/.github/hover.png" alt="" />
19+
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/diagnostics/.github/hover.png" alt="" />
2020

2121
- **Linting**
2222
Highlights errors and potential bugs in your HTML and CSS files
2323

24-
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/diagnostics/.github/linting.png" alt="" />
24+
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/diagnostics/.github/linting.png" alt="" />
2525

2626
- **CSS Syntax Highlighting**
2727
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
5959
- `ignore`: disable lint rule entirely
6060
- `warning`: rule violations will be considered "warnings," typically represented by a yellow underline
6161
- `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

Comments
 (0)