vscode把CRLF统一更换成LF
1. 安装vscode插件 EditorConfig for VS Code 2. 项目根目录下新建.editorconfig # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] # lf, cr, or crlf end_of_line = lf # ensure file ends with a newline when saving insert_final_newline = true