-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.json
More file actions
60 lines (53 loc) · 1.59 KB
/
Copy pathsettings.json
File metadata and controls
60 lines (53 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
// TypeScript — use workspace version (not VS Code's bundled one)
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
// ESLint — flat config support
"eslint.useFlatConfig": true,
"eslint.workingDirectories": [
{ "pattern": "apps/*" },
{ "pattern": "packages/*" }
],
// Formatting — let ESLint handle it, disable built-in formatters
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
// Tailwind CSS v4
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
],
"tailwindCSS.includeLanguages": {
"typescript": "javascript",
"typescriptreact": "javascript"
},
// File associations
"files.associations": {
"*.css": "tailwindcss"
},
// Search and file exclusions
"search.exclude": {
"**/node_modules": true,
"**/dist": true,
"**/.next": true,
"**/.turbo": true,
"**/storybook-static": true,
"**/coverage": true,
"**/.source": true
},
"files.exclude": {
"**/.turbo": true
},
// Editor defaults for the project
"editor.tabSize": 2,
"editor.insertSpaces": true,
// File nesting for cleaner explorer
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"package.json": "pnpm-lock.yaml, pnpm-workspace.yaml, .nvmrc, turbo.json, .gitignore, .npmrc",
"tsconfig.json": "tsconfig.*.json",
"eslint.config.*": ".eslintignore"
}
}