11 changed files with 364 additions and 88 deletions
@ -0,0 +1,13 @@ |
|||
{ |
|||
"recommendations": [ |
|||
"octref.vetur", |
|||
"dbaeumer.vscode-eslint", |
|||
"stylelint.vscode-stylelint", |
|||
"esbenp.prettier-vscode", |
|||
"mrmlnc.vscode-less", |
|||
"lokalise.i18n-ally", |
|||
"antfu.iconify", |
|||
"mikestead.dotenv", |
|||
"heybourn.headwind" |
|||
] |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
{ |
|||
"version": "0.2.0", |
|||
"configurations": [ |
|||
{ |
|||
"type": "chrome", |
|||
"request": "launch", |
|||
"name": "Launch Chrome", |
|||
"url": "http://localhost:3100", |
|||
"webRoot": "${workspaceFolder}/src", |
|||
"sourceMaps": true |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,192 @@ |
|||
{ |
|||
"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"] |
|||
} |
|||
Loading…
Reference in new issue