Skip to content

Commit be3a921

Browse files
zAlweNy26Norbiros
authored andcommitted
chore: improve default configuration in .vscode
1 parent 78212c5 commit be3a921

File tree

2 files changed

+89
-1
lines changed

2 files changed

+89
-1
lines changed

.vscode/extensions.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"recommendations": [
3+
"bradlc.vscode-tailwindcss",
4+
"dbaeumer.vscode-eslint",
5+
"vue.volar"
6+
],
7+
"unwantedRecommendations": [
8+
"octref.vetur"
9+
]
10+
}

.vscode/settings.json

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,81 @@
11
{
2-
"eslint.experimental.useFlatConfig": true
2+
"prettier.enable": false,
3+
"makefile.configureOnOpen": false,
4+
"eslint.useFlatConfig": true,
5+
"editor.formatOnSave": false,
6+
"editor.codeActionsOnSave": {
7+
"source.fixAll": "never",
8+
"source.fixAll.eslint": "always"
9+
},
10+
"eslint.rules.customizations": [
11+
{
12+
"rule": "style/*",
13+
"severity": "off"
14+
},
15+
{
16+
"rule": "format/*",
17+
"severity": "off"
18+
},
19+
{
20+
"rule": "*-indent",
21+
"severity": "off"
22+
},
23+
{
24+
"rule": "*-spacing",
25+
"severity": "off"
26+
},
27+
{
28+
"rule": "*-spaces",
29+
"severity": "off"
30+
},
31+
{
32+
"rule": "*-order",
33+
"severity": "off"
34+
},
35+
{
36+
"rule": "*-dangle",
37+
"severity": "off"
38+
},
39+
{
40+
"rule": "*-newline",
41+
"severity": "off"
42+
},
43+
{
44+
"rule": "*quotes",
45+
"severity": "off"
46+
},
47+
{
48+
"rule": "*semi",
49+
"severity": "off"
50+
}
51+
],
52+
// Enable eslint for all supported languages
53+
"eslint.validate": [
54+
"javascript",
55+
"javascriptreact",
56+
"typescript",
57+
"typescriptreact",
58+
"vue",
59+
"html",
60+
"markdown",
61+
"json",
62+
"jsonc",
63+
"yaml",
64+
"toml"
65+
],
66+
"files.associations": {
67+
"*.mdx": "markdown",
68+
"*.css": "tailwindcss"
69+
},
70+
"editor.quickSuggestions": {
71+
"strings": true
72+
},
73+
"tailwindCSS.classAttributes": [
74+
"class",
75+
"activeClass",
76+
"inactiveClass",
77+
"inputClass",
78+
"ui"
79+
],
80+
"typescript.tsdk": "node_modules/typescript/lib"
381
}

0 commit comments

Comments
 (0)