Appearance
VScode
配置
{
"eslint.autoFixOnSave": true,
"eslint.packageManager": "yarn",
"eslint.validate": [
{
"language": "javascript",
"autoFix": true
},
{
"language": "typescript",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
"editor.detectIndentation": false,
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.wordWrap": "on",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"vetur.format.defaultFormatter.js": "none",
"vetur.format.defaultFormatter.html": "none",
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"vetur.format.defaultFormatter.ts": "none",
"eslint.workingDirectories": [
{
"directory": "./dashboard",
"changeProcessCWD": true
},
{
"directory": "./o",
"changeProcessCWD": true
},
{
"directory": "./partner",
"changeProcessCWD": true
},
{
"directory": "./www",
"changeProcessCWD": true
},
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"typescript.format.insertSpaceBeforeFunctionParenthesis": true
}
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
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