问题描述
我使用规则 "indent": ["error","tab"]
但 ESLint 未能将其检测为错误:
let test = 'Hello ' +
'foo ' + // 4 spaces used for indentation
'bar!'; // 1 tab used for indentation
我尝试了规则 indent
、no-multi-spaces
和 no-mixed-spaces-and-tabs
的不同组合,但没有成功。
如何完全禁止缩进和对齐的空格?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)