使用VSCode,把项目默认的2格缩进改成了Tab 4格缩进,报警告“space indentation expected”
修改:打开tslint.json,修改rules的规则,改成"indent": [true, "tab", 4]即可
使用VSCode,把项目默认的2格缩进改成了Tab 4格缩进,报警告“space indentation expected”
修改:打开tslint.json,修改rules的规则,改成"indent": [true, "tab", 4]即可
本文标题:space indentation expected
本文链接:https://www.haomeiwen.com/subject/tdsgpctx.html
网友评论