Home > Enterprise >  Prettier on git commit hook shows code style issues, but only CRLF differences
Prettier on git commit hook shows code style issues, but only CRLF differences

Time:01-20

I'm using enter image description here

I also see these files changed in git. However, git diff shows nothing. When I execute git add ., I'm getting the following warning:

The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF

Which means these files only had issues with line endings. According to enter image description here

But it's not an issue for me.

  •  Tags:  
  • Related