forked from JowayYoung/bruce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.json
115 lines (115 loc) · 3.24 KB
/
settings.json
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
{
// 系统设置
"css.validate": false, // Stylelint
"less.validate": false, // Stylelint
"scss.validate": false, // Stylelint
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit", // Eslint
"source.fixAll.stylelint": "explicit" // Stylelint
},
// "editor.defaultFormatter": "esbenp.prettier-vscode", // Prettier
"editor.detectIndentation": false,
"editor.fontFamily": "Source Code Pro",
"editor.fontSize": 14,
"editor.formatOnPaste": true, // Prettier
"editor.formatOnSave": true, // Prettier
"editor.insertSpaces": false,
"editor.lineHeight": 25,
"files.eol": "\n",
"files.exclude": {
"**/.DS_Store": true,
"**/.git": true,
"**/.svn": true,
"**/coverage": true,
"**/dist": true,
"**/miniprogram_npm": true,
"**/node_modules": true,
"**/package-lock.json": true,
"**/pnpm-lock.yaml": true,
"**/yarn.lock": true
},
"javascript.updateImportsOnFileMove.enabled": "always",
"search.exclude": {
"**/.DS_Store": true,
"**/.git": true,
"**/.svn": true,
"**/coverage": true,
"**/dist": true,
"**/miniprogram_npm": true,
"**/node_modules": true,
"**/package-lock.json": true,
"**/pnpm-lock.yaml": true,
"**/yarn.lock": true
},
"security.workspace.trust.untrustedFiles": "open",
"typescript.updateImportsOnFileMove.enabled": "always",
"window.zoomLevel": 1,
"workbench.colorTheme": "One Dark Pro",
"workbench.iconTheme": "material-icon-theme",
// AutoImport
"autoimport.doubleQuotes": true,
"autoimport.filesToScan": "**/*.{js,ts,jsx,tsx}",
"autoimport.showNotifications": true,
// Eslint
"eslint.nodePath": "C:/Users/n7440/AppData/Roaming/Nvm/v18.18.0/node_modules/@yangzw/bruce-std/node_modules/eslint",
"eslint.options": {
"overrideConfigFile": "C:/Users/n7440/AppData/Roaming/Nvm/v18.18.0/node_modules/@yangzw/bruce-std/dist/eslintrc.js"
},
// Markdownlint
"markdownlint.config": {
"MD001": false,
"MD007": false,
"MD010": false,
"MD013": false,
"MD033": false,
"MD036": false,
"MD041": false,
"MD045": false,
"MD047": false
},
// Prettier
"prettier.configPath": "C:/Users/n7440/AppData/Roaming/Nvm/v18.18.0/node_modules/@yangzw/bruce-std/dist/prettierrc.js",
"prettier.enable": false,
"prettier.ignorePath": "C:/Users/n7440/AppData/Roaming/Nvm/v18.18.0/node_modules/@yangzw/bruce-std/.prettierignore",
// RemoveFinalNewlines
"files.removeFinalNewlines": true,
// Stylelint
"stylelint.configFile": "C:/Users/n7440/AppData/Roaming/Nvm/v18.18.0/node_modules/@yangzw/bruce-std/dist/stylelintrc.js",
"stylelint.stylelintPath": "C:/Users/n7440/AppData/Roaming/Nvm/v18.18.0/node_modules/@yangzw/bruce-std/node_modules/stylelint",
"stylelint.validate": [
"html",
"css",
"scss",
"less",
"vue"
],
// 独立文件
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[css]": {
"files.removeFinalNewlines": false
},
"[less]": {
"files.removeFinalNewlines": false
},
"[scss]": {
"files.removeFinalNewlines": false
},
"[javascript]": {
"editor.formatOnPaste": false,
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnPaste": false,
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnPaste": false,
"editor.formatOnSave": false
},
"[typescriptreact]": {
"editor.formatOnPaste": false,
"editor.formatOnSave": false
}
}