0

I ran ESlint (with prettier plugin) on my repo and it showed about 700 problems, 600 of them it said it can autofix with the --fix flag.

How should I approach this? Is it safe to autofix or it could break my code and I should do it manually one file at a time?

Gambit2007
  • 3,260
  • 13
  • 46
  • 86

1 Answers1

0

Functional breaks are possible but highly unlikely. Breaking something related to the Typescript compiler is more likely but instantly spottable and easy to fix/rollback.

Also, it depends on what rules you use; just eslint:recommended should be very safe.

Qumeric
  • 518
  • 5
  • 16