When I save the code on VS code editor, auto change code format

575 Views Asked by At

I am coding on React Native. I downloaded the code from Git I will share my code Before saving enter image description here

After saving enter image description here

I already uninstalled all extensions Please help me Thanks

1

There are 1 best solutions below

1
ridvanaltun On BEST ANSWER

Disable ESLint:

View → Command Pallete → Open Workspace Settings → add: "eslint.enable": false

Or

Disable ESLint Auto Fix:

View → Command Pallete → Open Workspace Settings → add: "eslint.autoFixOnSave": false