|
|
|
@ -7,23 +7,9 @@ |
|
|
|
//=========================================== |
|
|
|
"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 ======================= |
|
|
|
//=========================================== |
|
|
|
@ -34,24 +20,12 @@ |
|
|
|
//=========================================== |
|
|
|
"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, |
|
|
|
@ -97,29 +71,11 @@ |
|
|
|
}, |
|
|
|
"stylelint.enable": true, |
|
|
|
"stylelint.packageManager": "yarn", |
|
|
|
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ |
|
|
|
// =========================================== |
|
|
|
// ================ Eslint =================== |
|
|
|
// =========================================== |
|
|
|
"eslint.alwaysShowStatus": true, |
|
|
|
"eslint.validate": [ |
|
|
|
"javascript", |
|
|
|
"typescript", |
|
|
|
"reacttypescript", |
|
|
|
"reactjavascript", |
|
|
|
"html", |
|
|
|
"vue" |
|
|
|
], |
|
|
|
// =========================================== |
|
|
|
// ================ Vetur ==================== |
|
|
|
// =========================================== |
|
|
|
"vetur.experimental.templateInterpolationService": true, |
|
|
|
"vetur.format.options.tabSize": 2, |
|
|
|
"vetur.format.defaultFormatter.html": "prettier", |
|
|
|
"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": { |
|
|
|
|