Skip to content

Instantly share code, notes, and snippets.

View wahinguyen's full-sized avatar
🎯
Focusing

Wahi Nguyen wahinguyen

🎯
Focusing
  • Ho Chi Minh city, VietNam
View GitHub Profile
@tjsudarsan
tjsudarsan / Change CRLF to LF to all Files.md
Last active May 7, 2024 15:07
Change End of Line Sequence from CRLF to LF to all files in the project for supporting ESLint

Converting the End of Line Sequence from CRLF to LF in any of your project files

Execute the following commands in your root of your project folder

NOTE: Do not do the following steps without commiting your data. As it clears all the git cache and it will clear all your changes in your project.

  1. First disable the autoCRLF in the git config by running the following command in your terminal git config core.autocrlf false

  2. Then remove the cached files in the git. Run the following command: