求最新的vue create + ts 初始化后tslint 必须写分号,逗号的解决办法

如题
tslint里怎么去掉必须在一句结尾加分号这种校验
image.png
image.png

// tslint.json
{
  "defaultSeverity": "warning",
  "extends": [
    "tslint:recommended"
  ],
  "linterOptions": {
    "exclude": [
      "node_modules/**"
    ]
  },
  "rules": {
    "indent": [true, "spaces", 2],
    "interface-name": false,
    "no-consecutive-blank-lines": false,
    "object-literal-sort-keys": false,
    "ordered-imports": false,
    "quotemark": [true, "single"],
    "semi": "off",
    "@typescript-eslint/semi": "off"
  }
}
阅读 3.8k
3 个回答
"trailing-comma":  [
      true,
      "never"
    ],
    "semicolon":[false, "aways"]
新手上路,请多包涵
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题