# vscode备份
{
"editor.quickSuggestions": {
"strings": true
},
"editor.minimap.maxColumn": 20,
"editor.minimap.enabled": false, //关闭右侧导航条视图
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/env/**": true,
"**/venv/**": true,
"env-*": true
},
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/.vscode": true,
"**/__pycache__": true,
"**/.pytest_cache": true,
"**/node_modules": true,
"node_modules": true,
"venv": true,
"*.sublime-*": true,
"env*": true
},
"git.enabled": false,
"git.autorefresh": false,
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "auto",
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
}
},
"vetur.format.options.tabSize": 4,
"vetur.format.defaultFormatter.ts": "prettier-tslint",
"vetur.format.defaultFormatter.js": "vscode-typescript",
"prettier.tabWidth": 4,
"search.followSymlinks": false,
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/env": true,
"**/venv": true
},
"telemetry.enableTelemetry": false,
}
# tsLint备份
{
"compilerOptions":{
"noImplicitAny": false,
"suppressImplicitAnyIndexErrors":true
},
"defaultSeverity": "warning",
"extends": [
"tslint:recommended"
],
"linterOptions": {
"exclude": [
"node_modules/**"
]
},
"rules": {
"comma-dangle": ["error", {
"arrays": "never",
"objects": "never",
"imports": "never",
"exports": "never",
"functions": "ignore"
}],
"indent": [true, "spaces", 4],
"interface-name": false,
"no-consecutive-blank-lines": false,
"no-console":[false],
"no-trailing-whitespace": false,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"ordered-imports": false,
"prefer-const": false,
"quotemark": [false, "single"],
"semi":[1],
"semicolon": [ false, "always"],
"trailing-comma": [true, {
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"typeLiterals": "always"
},
"esSpecCompliant": false
}],
"variable-name":[
"allow-leading-underscore",
"allow-pascal-case" ,
"allow-snake-case",
"allow-trailing-underscore"
]
}
}
vscode备份 tsLint备份
最新推荐文章于 2024-06-26 18:01:21 发布