C
C
ch-aqwer2020-01-22 11:10:43
JavaScript
ch-aqwer, 2020-01-22 11:10:43

Why doesn't eslint correct extra indentation?

Good afternoon! Please help me figure out why eslint doesn't fix unnecessary digressions?
How to fix it?
5e28032f3253f365866676.png
Project in react/typescript.
.eslintrc.json

{
  "extends":[
      "eslint:recommended",
      "plugin:@typescript-eslint/eslint-recommended",
      "plugin:@typescript-eslint/recommended"
  ],
  "parser":"@typescript-eslint/parser",
  "parserOptions":{
    "ecmaVersion":2018,
      "sourceType": "module",
      "ecmaFeatures": {
        "jsx": true
      }
  },
  "plugins":[
    "@typescript-eslint"
  ],
  "rules":{
  }
}

I would be very, very grateful for your help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Athanor, 2020-01-22
@ch-aqwer

You probably need to add this rule to the settings:
https://eslint.org/docs/rules/no-multiple-empty-lines

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question