Search code examples
typescripteslintreact-typescripttypescript-eslint

Delete `··`, Replace `············` with `······` eslint() eslintprettier/prettier


I am using eslint, prettier and typescript. after configuring indent:"error" in .eslintrc, it is showing the below three types of errors.

Delete eslintprettier/prettier

Delete ··``

Replace ············with······``

all the above are from rule eslintprettier/prettier

What is the possible reason for the issue and what correct config should we follow to fix/avoid/overcome these types of issue.

This is how it looks like


Solution

  • It's telling you to indent with less spaces. The dots are just for counting it. This is coming from the Prettier plugin.