Report an error
Format error
reason
When downloading the code, the line feed character LF (linefeed character) will be automatically converted into the carriage return character CRLF (carriage-return character).
Solution
Run the following statement and see where the error statement appears.
npm run lint --fix
Run the following statement to turn off automatic conversion
git config --global core.autocrlf false
Reference link: warning Delete `␍` prettier/prettier