![](/img/trans.png)
[英]How to configure IdentiyServer settings on appSettings.json of .NET Core?
[英]How to configure tsline in settings.json?
我正在使用视觉工作室代码
当我搜索 settings.json 文件时,它看起来像这样
{
"liveServer.settings.donotVerifyTags": true,
"liveServer.settings.donotShowInfoMsg": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"editor.codeActionsOnSave": {},
"diffEditor.ignoreTrimWhitespace": false,
"settingsSync.ignoredSettings": [
]
}
我如何配置我的 vs 代码,所以每次我格式化我的文档时它都会使用我的 tsline 规则
为了更漂亮,我已经在这里找到了该参考的答案https://stackoverflow.com/questions/49640469/how-do-you-determine-which-formatter-is-being-used-for-vs-code
但是 editor.defaultFormatter 上editor.defaultFormatter
的值应该是多少,所以它会使用 tslint?
首先,我想提一下 TSLint 已被弃用,并且在 ESLint 中添加/替换了所有功能,我建议您使用它。 这是一篇如何将 TSLint 迁移到 ESLint 的文章( https://github.com/typescript-eslint/typescript-eslint#typescript-eslint )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.