删除 `··`,将 `············` 替换为 `······` eslint() eslintprettier/prettier

anu*_*ayk 3 typescript eslint typescript-eslint react-typescript

我正在使用 eslint、prettier 和 typescript。indent:"error"配置完成后.eslintrc,出现以下三类错误。

\n

Delete \xe2\x8f\x8eeslintprettier/prettier

\n

Delete \xc2\xb7\xc2\xb7``

\n

Replace \xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7\ withxc2 \xb7\xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7\xc2\xb7``

\n

以上均来自规则eslintprettier/prettier

\n

问题的可能原因是什么?\n我们应该遵循什么正确的配置来修复/避免/克服这些类型的问题。

\n

这就是它的样子

\n

Log*_*ine 5

它告诉您缩进更少的空格。这些点只是为了计数。这是来自 Prettier 插件。