From dd8a122933cebdd0d3fee34662b2ad8f9f79729c Mon Sep 17 00:00:00 2001 From: Neil Richter Date: Wed, 27 Mar 2024 13:55:23 +0100 Subject: [PATCH] docs(installation): update regex to match `@nuxt/eslint` rules (#1572) --- docs/content/1.getting-started/2.installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/1.getting-started/2.installation.md b/docs/content/1.getting-started/2.installation.md index ea9b14f5..705fb6f9 100644 --- a/docs/content/1.getting-started/2.installation.md +++ b/docs/content/1.getting-started/2.installation.md @@ -194,7 +194,7 @@ To enable these two features, you can add the following to your `.vscode/setting { "tailwindCSS.experimental.classRegex": [ ["ui:\\s*{([^)]*)\\s*}", "[\"'`]([^\"'`]*).*?[\"'`]"], - ["/\\*ui\\*/\\s*{([^;]*)}", ":\\s*[\"'`]([^\"'`]*).*?[\"'`]"] + ["/\\*\\s?ui\\s?\\*/\\s*{([^;]*)}", ":\\s*[\"'`]([^\"'`]*).*?[\"'`]"] ] } ``` @@ -207,7 +207,7 @@ An example SFC using IntelliSense (note the `/*ui*/` prefix, also works with `re