提交 | 用户 | age
|
ad3688
|
1 |
{ |
V |
2 |
"typescript.tsdk": "./node_modules/typescript/lib", |
4d7001
|
3 |
"volar.tsPlugin": true, |
V |
4 |
"volar.tsPluginStatus": false, |
ad3688
|
5 |
//=========================================== |
V |
6 |
//============= Editor ====================== |
|
7 |
//=========================================== |
|
8 |
"explorer.openEditors.visible": 0, |
a89eee
|
9 |
"editor.tabSize": 2, |
V |
10 |
"editor.renderControlCharacters": true, |
ad3688
|
11 |
"editor.minimap.renderCharacters": false, |
V |
12 |
"editor.minimap.maxColumn": 300, |
|
13 |
"editor.minimap.showSlider": "always", |
|
14 |
"editor.cursorBlinking": "phase", |
|
15 |
"editor.cursorSmoothCaretAnimation": true, |
962f90
|
16 |
"editor.detectIndentation": false, |
970d40
|
17 |
"editor.defaultFormatter": "esbenp.prettier-vscode", |
ad3688
|
18 |
"diffEditor.ignoreTrimWhitespace": false, |
31ff05
|
19 |
"javascript.format.insertSpaceBeforeFunctionParenthesis": true, |
ad3688
|
20 |
"editor.suggestSelection": "first", |
V |
21 |
"editor.trimAutoWhitespace": true, |
|
22 |
"editor.quickSuggestions": { |
|
23 |
"other": true, |
|
24 |
"comments": true, |
|
25 |
"strings": true |
|
26 |
}, |
|
27 |
//=========================================== |
|
28 |
//============= Other ======================= |
|
29 |
//=========================================== |
962f90
|
30 |
"breadcrumbs.enabled": true, |
V |
31 |
"open-in-browser.default": "chrome", |
ad3688
|
32 |
//=========================================== |
V |
33 |
//============= emmet ======================= |
|
34 |
//=========================================== |
962f90
|
35 |
"emmet.triggerExpansionOnTab": true, |
ad3688
|
36 |
"emmet.showAbbreviationSuggestions": true, |
V |
37 |
"emmet.showExpandedAbbreviation": "always", |
|
38 |
"emmet.syntaxProfiles": { |
|
39 |
"vue-html": "html", |
|
40 |
"vue": "html", |
|
41 |
"xml": { |
|
42 |
"attr_quotes": "single" |
|
43 |
} |
|
44 |
}, |
|
45 |
"emmet.includeLanguages": { |
|
46 |
"jsx-sublime-babel-tags": "javascriptreact" |
|
47 |
}, |
|
48 |
//=========================================== |
|
49 |
//============= files ======================= |
|
50 |
//=========================================== |
962f90
|
51 |
"files.trimTrailingWhitespace": true, |
ad3688
|
52 |
"files.insertFinalNewline": true, |
V |
53 |
"files.trimFinalNewlines": true, |
|
54 |
"files.eol": "\n", |
|
55 |
"search.exclude": { |
|
56 |
"**/node_modules": true, |
|
57 |
"**/*.log": true, |
|
58 |
"**/*.log*": true, |
|
59 |
"**/bower_components": true, |
|
60 |
"**/dist": true, |
|
61 |
"**/elehukouben": true, |
|
62 |
"**/.git": true, |
|
63 |
"**/.gitignore": true, |
|
64 |
"**/.svn": true, |
|
65 |
"**/.DS_Store": true, |
|
66 |
"**/.idea": true, |
|
67 |
"**/.vscode": false, |
|
68 |
"**/yarn.lock": true, |
7bfe5f
|
69 |
"**/tmp": true, |
V |
70 |
"out": true, |
|
71 |
"dist": true, |
|
72 |
"node_modules": true, |
|
73 |
"CHANGELOG.md": true, |
|
74 |
"examples": true, |
|
75 |
"res": true, |
|
76 |
"screenshots": true |
ad3688
|
77 |
}, |
V |
78 |
"files.exclude": { |
|
79 |
"**/bower_components": true, |
|
80 |
"**/.idea": true, |
|
81 |
"**/tmp": true, |
|
82 |
"**/.git": true, |
|
83 |
"**/.svn": true, |
|
84 |
"**/.hg": true, |
|
85 |
"**/CVS": true, |
|
86 |
"**/.DS_Store": true |
|
87 |
}, |
|
88 |
"files.watcherExclude": { |
|
89 |
"**/.git/objects/**": true, |
|
90 |
"**/.git/subtree-cache/**": true, |
|
91 |
"**/.vscode/**": true, |
|
92 |
"**/node_modules/**": true, |
|
93 |
"**/tmp/**": true, |
|
94 |
"**/bower_components/**": true, |
|
95 |
"**/dist/**": true, |
|
96 |
"**/yarn.lock": true |
|
97 |
}, |
|
98 |
"stylelint.enable": true, |
|
99 |
"stylelint.packageManager": "yarn", |
|
100 |
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ |
|
101 |
// =========================================== |
|
102 |
// ================ Eslint =================== |
|
103 |
// =========================================== |
31ff05
|
104 |
"eslint.alwaysShowStatus": true, |
ad3688
|
105 |
"eslint.options": { |
31ff05
|
106 |
"plugins": ["html", "vue", "javascript", "jsx", "typescript"], |
V |
107 |
"extensions": [".js", ".jsx", ".ts", ".tsx", ".vue"] |
ad3688
|
108 |
}, |
31ff05
|
109 |
"eslint.validate": [ |
V |
110 |
"javascript", |
|
111 |
"typescript", |
|
112 |
"reacttypescript", |
|
113 |
"reactjavascript", |
|
114 |
"html", |
|
115 |
"vue" |
|
116 |
], |
ad3688
|
117 |
// =========================================== |
V |
118 |
// ================ Vetur ==================== |
|
119 |
// =========================================== |
335506
|
120 |
"vetur.experimental.templateInterpolationService": true, |
ad3688
|
121 |
"vetur.format.options.tabSize": 2, |
962f90
|
122 |
"vetur.format.defaultFormatter.html": "js-beautify-html", |
V |
123 |
"vetur.format.defaultFormatter.scss": "prettier", |
|
124 |
"vetur.format.defaultFormatter.css": "prettier", |
db0bfc
|
125 |
"vetur.format.defaultFormatter.ts": "prettier-tslint", |
ad3688
|
126 |
"vetur.format.defaultFormatter.js": "prettier", |
962f90
|
127 |
"vetur.languageFeatures.codeActions": false, |
ad3688
|
128 |
"vetur.format.defaultFormatterOptions": { |
V |
129 |
"js-beautify-html": { |
962f90
|
130 |
"wrap_attributes": "force-expand-multiline" |
ad3688
|
131 |
}, |
V |
132 |
"prettier": { |
962f90
|
133 |
"eslintIntegration": true, |
V |
134 |
"arrowParens": "always", |
|
135 |
"semi": false, |
|
136 |
"singleQuote": true |
ad3688
|
137 |
} |
V |
138 |
}, |
|
139 |
"liveServer.settings.donotShowInfoMsg": true, |
962f90
|
140 |
"terminal.integrated.rendererType": "dom", |
ad3688
|
141 |
"telemetry.enableCrashReporter": false, |
V |
142 |
"telemetry.enableTelemetry": false, |
|
143 |
"workbench.settings.enableNaturalLanguageSearch": false, |
|
144 |
"path-intellisense.mappings": { |
|
145 |
"/@/": "${workspaceRoot}/src" |
|
146 |
}, |
|
147 |
"prettier.requireConfig": true, |
|
148 |
"typescript.updateImportsOnFileMove.enabled": "always", |
|
149 |
"workbench.sideBar.location": "left", |
|
150 |
"[javascriptreact]": { |
|
151 |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
|
152 |
}, |
|
153 |
"[typescript]": { |
|
154 |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
|
155 |
}, |
|
156 |
"[typescriptreact]": { |
|
157 |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
|
158 |
}, |
|
159 |
"[html]": { |
|
160 |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
|
161 |
}, |
|
162 |
"[css]": { |
|
163 |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
|
164 |
}, |
|
165 |
"[less]": { |
|
166 |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
|
167 |
}, |
|
168 |
"[scss]": { |
|
169 |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
|
170 |
}, |
|
171 |
"[markdown]": { |
|
172 |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
|
173 |
}, |
|
174 |
"editor.codeActionsOnSave": { |
|
175 |
"source.fixAll.eslint": true |
962f90
|
176 |
}, |
b7ce74
|
177 |
"[vue]": { |
V |
178 |
"editor.codeActionsOnSave": { |
|
179 |
"source.fixAll.eslint": false |
|
180 |
} |
|
181 |
}, |
31ff05
|
182 |
"i18n-ally.localesPaths": ["src/locales/lang"], |
962f90
|
183 |
"i18n-ally.keystyle": "nested", |
V |
184 |
"i18n-ally.sortKeys": true, |
|
185 |
"i18n-ally.namespace": true, |
7bfe5f
|
186 |
"i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}", |
31ff05
|
187 |
"i18n-ally.enabledParsers": ["ts"], |
1418dc
|
188 |
"i18n-ally.sourceLanguage": "en", |
31ff05
|
189 |
"i18n-ally.enabledFrameworks": ["vue", "react"] |
V |
190 |
} |