-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcode-inspector.code-workspace
More file actions
131 lines (131 loc) · 3.02 KB
/
Copy pathcode-inspector.code-workspace
File metadata and controls
131 lines (131 loc) · 3.02 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"folders": [
{
"name": "website",
"path": "website",
},
{
"name": "example-rspack",
"path": "examples/example-rspack",
},
{
"name": "example-webpack",
"path": "examples/example-webpack",
},
{
"name": "example-nextjs",
"path": "examples/example-nextjs",
},
{
"name": "inspector-common",
"path": "packages/inspector-common",
},
{
"name": "inspector-babel-plugin",
"path": "packages/inspector-babel-plugin",
},
{
"name": "inspector-swc-plugin",
"path": "crates/inspector-swc-plugin",
},
{
"name": "inspector-middleware",
"path": "packages/inspector-middleware",
},
{
"name": "next-inspector",
"path": "packages/next-inspector",
},
{
"name": "inspector-component",
"path": "packages/inspector-component",
},
{
"name": "inspector",
"path": "packages/inspector",
},
{
"name": "root",
"path": ".",
},
],
"extensions": {
"recommendations": [
"dbaeumer.vscode-eslint"
],
},
"settings": {
"files.eol": "\n",
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always",
"source.organizeImports": "never",
},
"eslint.useFlatConfig": true,
"eslint.format.enable": true,
"files.associations": {
"*.css": "tailwindcss",
},
"tailwindCSS.classFunctions": [
"tw",
"tv",
"clsx",
"twMerge",
"extendVariants"
],
"tailwindCSS.classAttributes": [
"class",
"classes",
"className",
"classNames",
"baseClass",
"itemClasses"
],
"tailwindCSS.experimental.configFile": {
"website/src/app/globals.css":"website/src/**",
},
"tailwindCSS.experimental.classRegex": [
[
"cva\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]"
],
[
"cx\\(([^)]*)\\)",
"(?:'|\"|`)([^']*)(?:'|\"|`)"
]
],
// Disable vscode formatting for js,jsx,ts,tsx files
// to allow dbaeumer.vscode-eslint to format them
"[javascript]": {
"editor.formatOnSave": false,
},
"[typescript]": {
"editor.formatOnSave": false,
},
// https://github.com/Microsoft/vscode-eslint#mono-repository-setup
"eslint.workingDirectories": [
{
"mode": "auto"
}
],
"typescript.tsdk": "root/node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"[jsonc]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": "vscode.json-language-features"
},
"[json]": {
"editor.formatOnSave": false
},
"[html]": {
// Avoid onSave to format evolve/templates/**/*.html
"editor.formatOnSave": false,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"i18n-ally.localesPaths": [
"messages"
], // E.g. "./messages"
"i18n-ally.keyStyle": "nested"
},
}