![](/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.