From 35d4b3c57a4c33af8f17e8a698aabf334ef3a526 Mon Sep 17 00:00:00 2001 From: David Rouyer Date: Thu, 3 Oct 2024 14:14:14 +0200 Subject: [PATCH] chore: update VSCode config --- .vscode/settings.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 21b28dc57..d4103d02b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,13 +5,17 @@ "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }], - "eslint.useFlatConfig": true, + "eslint.runtime": "node", "eslint.workingDirectories": [ { "pattern": "apps/*/" }, { "pattern": "packages/*/" }, { "pattern": "tooling/*/" } ], "prettier.ignorePath": ".gitignore", + "tailwindCSS.experimental.classRegex": [ + ["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], + ["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] + ], "tailwindCSS.experimental.configFile": "./tooling/tailwind/index.ts", "typescript.enablePromptUseWorkspaceTsdk": true, "typescript.tsdk": "node_modules/typescript/lib"