Somehow prettier is using tabs to format your code, this is not happening frequently?(更漂亮的方式是使用制表符来格式化代码,这种情况不会经常发生吗?)
It looks you have an eslint or some sort of linting rule running in vscode that is expecting the format to use spaces and not tabs.(看来您在vscode中运行了一种eslint或某种linting规则,期望该格式使用空格而不是制表符。)
Are you sure you don't have any other prettier configuration with useTabs
prettier flag set to true?(您确定没有其他将useTabs
漂亮标志设置为true的漂亮配置吗?)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…