Which of the following ESLint rules enforces consistent indentation in your code?

  • no-console
  • indent
  • semi
  • no-unused-vars
The indent rule in ESLint enforces consistent indentation in your code. It helps ensure that your code is properly formatted and readable by specifying the expected indentation style. The other options are for different rules, such as preventing the use of console, enforcing semicolons, or catching unused variables.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *