-
-
Notifications
You must be signed in to change notification settings - Fork 185
/
Copy pathkpi.code-workspace
114 lines (104 loc) · 3.33 KB
/
kpi.code-workspace
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
{
"folders": [
{
"path": "."
}
],
"extensions": {
"recommendations": [
"editorconfig.editorconfig", // EditorConfig
// Markdown preview that supports what Github supports (checkbo):
// checkboxes, footnotes, newlines without empty lines, etc.
"shd101wyy.markdown-preview-enhanced",
// Linters and Formatters
"ms-python.black-formatter", // Black (also installs MS Pylance)*
"dbaeumer.vscode-eslint", // ESLint
"stylelint.vscode-stylelint", // Stylelint
"freewil.vscode-coffeelint2", // Coffeelint
"biomejs.biome", // Biome
// Status Bar Toggle for Format on Save
"tombonnike.vscode-status-bar-format-toggle", // Formatting Toggle
// Syntax Support
"almahdi.code-django", // Django templates
"vunguyentuan.vscode-css-variables", // CSS
"vunguyentuan.vscode-postcss" // CSS
]
},
"settings": {
// Black
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
// Stylelint
"stylelint.validate": ["css", "scss"],
"css.validate": false,
"scss.validate": false,
// Frontend formatting (Biome)
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit"
}
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit"
}
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit"
}
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit"
}
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit"
}
},
// Mantine / PostCSS
"cssVariables.lookupFiles": [
"**/*.css",
"**/*.scss",
"**/*.sass",
"**/*.less",
"node_modules/@mantine/core/styles.css"
],
// Formatting Toggle
"formattingToggle.affects": [
"editor.formatOnSave"
// NOTE: 6/25/24
//
// "source.fixAll.*" has changed from true/false to "explicit"/"never".
//
// - "explicit" - fka true - Run Action on Save
// - "always" - (new option) - Run Action on Save OR Auto-Save
// - "never" - fka false - Don't run action on save
//
// Formatting toggle doesn't support these, so I'm commenting this out:
//
// "editor.codeActionsOnSave.source.fixAll.eslint",
// "editor.codeActionsOnSave.source.fixAll.stylelint",
//
// Now, if you want to toggle auto-fix, these are the
// relevant settings in your User settings.json:
//
// "editor.codeActionsOnSave": {
// "source.fixAll.eslint": "explicit", // "never"
// "source.fixAll.stylelint": "explicit", // "never"
// },
],
// Use locally-installed TypeScript instance (supports plugins in tsconfig)
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"markdown-preview-enhanced.previewColorScheme": "editorColorScheme"
}
}