vscode备份 tsLint备份

# 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"
    ]
 
  }
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值