You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
193 lines
5.9 KiB
193 lines
5.9 KiB
4 years ago
|
{
|
||
|
"typescript.tsdk": "./node_modules/typescript/lib",
|
||
|
"volar.tsPlugin": true,
|
||
|
"volar.tsPluginStatus": false,
|
||
|
//===========================================
|
||
|
//============= Editor ======================
|
||
|
//===========================================
|
||
|
"explorer.openEditors.visible": 0,
|
||
|
"editor.tabSize": 2,
|
||
|
"editor.renderControlCharacters": true,
|
||
|
"editor.minimap.renderCharacters": false,
|
||
|
"editor.minimap.maxColumn": 300,
|
||
|
"editor.minimap.showSlider": "always",
|
||
|
"editor.cursorBlinking": "phase",
|
||
|
"editor.cursorSmoothCaretAnimation": true,
|
||
|
"editor.detectIndentation": false,
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||
|
"diffEditor.ignoreTrimWhitespace": false,
|
||
|
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
|
||
|
"editor.suggestSelection": "first",
|
||
|
"editor.trimAutoWhitespace": true,
|
||
|
"editor.quickSuggestions": {
|
||
|
"other": true,
|
||
|
"comments": true,
|
||
|
"strings": true
|
||
|
},
|
||
|
//===========================================
|
||
|
//============= Other =======================
|
||
|
//===========================================
|
||
|
"breadcrumbs.enabled": true,
|
||
|
"open-in-browser.default": "chrome",
|
||
|
//===========================================
|
||
|
//============= emmet =======================
|
||
|
//===========================================
|
||
|
"emmet.triggerExpansionOnTab": true,
|
||
|
"emmet.showAbbreviationSuggestions": true,
|
||
|
"emmet.showExpandedAbbreviation": "always",
|
||
|
"emmet.syntaxProfiles": {
|
||
|
"vue-html": "html",
|
||
|
"vue": "html",
|
||
|
"xml": {
|
||
|
"attr_quotes": "single"
|
||
|
}
|
||
|
},
|
||
|
"emmet.includeLanguages": {
|
||
|
"jsx-sublime-babel-tags": "javascriptreact"
|
||
|
},
|
||
|
//===========================================
|
||
|
//============= files =======================
|
||
|
//===========================================
|
||
|
"files.trimTrailingWhitespace": true,
|
||
|
"files.insertFinalNewline": true,
|
||
|
"files.trimFinalNewlines": true,
|
||
|
"files.eol": "\n",
|
||
|
"search.exclude": {
|
||
|
"**/node_modules": true,
|
||
|
"**/*.log": true,
|
||
|
"**/*.log*": true,
|
||
|
"**/bower_components": true,
|
||
|
"**/dist": true,
|
||
|
"**/elehukouben": true,
|
||
|
"**/.git": true,
|
||
|
"**/.gitignore": true,
|
||
|
"**/.svn": true,
|
||
|
"**/.DS_Store": true,
|
||
|
"**/.idea": true,
|
||
|
"**/.vscode": false,
|
||
|
"**/yarn.lock": true,
|
||
|
"**/tmp": true,
|
||
|
"out": true,
|
||
|
"dist": true,
|
||
|
"node_modules": true,
|
||
|
"CHANGELOG.md": true,
|
||
|
"examples": true,
|
||
|
"res": true,
|
||
|
"screenshots": true
|
||
|
},
|
||
|
"files.exclude": {
|
||
|
"**/bower_components": true,
|
||
|
"**/.idea": true,
|
||
|
"**/tmp": true,
|
||
|
"**/.git": true,
|
||
|
"**/.svn": true,
|
||
|
"**/.hg": true,
|
||
|
"**/CVS": true,
|
||
|
"**/.DS_Store": true
|
||
|
},
|
||
|
"files.watcherExclude": {
|
||
|
"**/.git/objects/**": true,
|
||
|
"**/.git/subtree-cache/**": true,
|
||
|
"**/.vscode/**": true,
|
||
|
"**/node_modules/**": true,
|
||
|
"**/tmp/**": true,
|
||
|
"**/bower_components/**": true,
|
||
|
"**/dist/**": true,
|
||
|
"**/yarn.lock": true
|
||
|
},
|
||
|
"stylelint.enable": true,
|
||
|
"stylelint.packageManager": "yarn",
|
||
|
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
|
||
|
// ===========================================
|
||
|
// ================ Eslint ===================
|
||
|
// ===========================================
|
||
|
"eslint.alwaysShowStatus": true,
|
||
|
"eslint.options": {
|
||
|
"plugins": ["html", "vue", "javascript", "jsx", "typescript"],
|
||
|
"extensions": [".js", ".jsx", ".ts", ".tsx", ".vue"]
|
||
|
},
|
||
|
"eslint.validate": [
|
||
|
"javascript",
|
||
|
"typescript",
|
||
|
"reacttypescript",
|
||
|
"reactjavascript",
|
||
|
"html",
|
||
|
"vue"
|
||
|
],
|
||
|
// ===========================================
|
||
|
// ================ Vetur ====================
|
||
|
// ===========================================
|
||
|
"vetur.experimental.templateInterpolationService": true,
|
||
|
"vetur.format.options.tabSize": 2,
|
||
|
"vetur.format.defaultFormatter.html": "js-beautify-html",
|
||
|
"vetur.format.defaultFormatter.scss": "prettier",
|
||
|
"vetur.format.defaultFormatter.css": "prettier",
|
||
|
"vetur.format.defaultFormatter.ts": "prettier-tslint",
|
||
|
"vetur.format.defaultFormatter.js": "prettier",
|
||
|
"vetur.languageFeatures.codeActions": false,
|
||
|
"vetur.format.defaultFormatterOptions": {
|
||
|
"js-beautify-html": {
|
||
|
"wrap_attributes": "force-expand-multiline"
|
||
|
},
|
||
|
"prettier": {
|
||
|
"eslintIntegration": true,
|
||
|
"arrowParens": "always",
|
||
|
"semi": false,
|
||
|
"singleQuote": true
|
||
|
}
|
||
|
},
|
||
|
"liveServer.settings.donotShowInfoMsg": true,
|
||
|
"terminal.integrated.rendererType": "dom",
|
||
|
"telemetry.enableCrashReporter": false,
|
||
|
"telemetry.enableTelemetry": false,
|
||
|
"workbench.settings.enableNaturalLanguageSearch": false,
|
||
|
"path-intellisense.mappings": {
|
||
|
"/@/": "${workspaceRoot}/src"
|
||
|
},
|
||
|
"prettier.requireConfig": true,
|
||
|
"typescript.updateImportsOnFileMove.enabled": "always",
|
||
|
"workbench.sideBar.location": "left",
|
||
|
"[javascriptreact]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
},
|
||
|
"[typescript]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
},
|
||
|
"[typescriptreact]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
},
|
||
|
"[html]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
},
|
||
|
"[css]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
},
|
||
|
"[less]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
},
|
||
|
"[scss]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
},
|
||
|
"[markdown]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
},
|
||
|
"editor.codeActionsOnSave": {
|
||
|
"source.fixAll.eslint": true,
|
||
|
"source.fixAll.stylelint": true
|
||
|
},
|
||
|
"[vue]": {
|
||
|
"editor.codeActionsOnSave": {
|
||
|
"source.fixAll.eslint": false,
|
||
|
"source.fixAll.stylelint": true
|
||
|
}
|
||
|
},
|
||
|
"i18n-ally.localesPaths": ["src/locales/lang"],
|
||
|
"i18n-ally.keystyle": "nested",
|
||
|
"i18n-ally.sortKeys": true,
|
||
|
"i18n-ally.namespace": true,
|
||
|
"i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
|
||
|
"i18n-ally.enabledParsers": ["ts"],
|
||
|
"i18n-ally.sourceLanguage": "en",
|
||
|
"i18n-ally.enabledFrameworks": ["vue", "react"]
|
||
|
}
|